xfs: fix xfs_get_extsz_hint for a zero extent size hint
authorChristoph Hellwig <hch@infradead.org>
Tue, 25 Jan 2011 09:06:20 +0000 (09:06 +0000)
committerAlex Elder <aelder@sgi.com>
Mon, 7 Feb 2011 19:29:14 +0000 (13:29 -0600)
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>

No differences found