aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_rtalloc.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2011-01-25 09:06:20 +0000
committerAlex Elder <[email protected]>2011-02-07 19:29:14 +0000
commit0d8b30ad19bf13197cbcd786e2cd5a2ecef72e68 (patch)
tree506a96797323f3052ea2cbba28c3b30cbf551c58 /fs/xfs/xfs_rtalloc.c
parentxfs: only lock the rt bitmap inode once per allocation (diff)
downloadkernel-0d8b30ad19bf13197cbcd786e2cd5a2ecef72e68.tar.gz
kernel-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 <[email protected]> Signed-off-by: Alex Elder <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
0 files changed, 0 insertions, 0 deletions