diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-01-25 09:06:20 +0000 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-02-07 13:29:14 -0600 |
commit | 0d8b30ad19bf13197cbcd786e2cd5a2ecef72e68 (patch) | |
tree | 506a96797323f3052ea2cbba28c3b30cbf551c58 /fs/xfs/xfs_inode.h | |
parent | 04e99455ea5bb17ea7c2e7bb0970168efb736242 (diff) | |
download | talos-op-linux-0d8b30ad19bf13197cbcd786e2cd5a2ecef72e68.tar.gz talos-op-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_inode.h')
0 files changed, 0 insertions, 0 deletions