diff options
author | 2011-01-25 09:06:20 +0000 | |
---|---|---|
committer | 2011-02-07 13:29:14 -0600 | |
commit | 0d8b30ad19bf13197cbcd786e2cd5a2ecef72e68 (patch) | |
tree | 506a96797323f3052ea2cbba28c3b30cbf551c58 /fs/xfs/xfs_error.h | |
parent | xfs: only lock the rt bitmap inode once per allocation (diff) | |
download | wireguard-linux-0d8b30ad19bf13197cbcd786e2cd5a2ecef72e68.tar.xz wireguard-linux-0d8b30ad19bf13197cbcd786e2cd5a2ecef72e68.zip |
xfs: fix xfs_get_extsz_hint for a zero extent size hint
We can easily set the extsize flag without setting an extent size
hint, or one that evaluates to zero. Historically the di_extsize
field was only used when it was non-zero, but the commit
"Cleanup inode extent size hint extraction"
broke this. Restore the old behaviour, thus fixing xfsqa 090 with
a debug kernel.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_error.h')
0 files changed, 0 insertions, 0 deletions