xfs: set *stat=1 after iroot realloc
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 3 Aug 2016 01:01:25 +0000 (11:01 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 3 Aug 2016 01:01:25 +0000 (11:01 +1000)
commit0d309791bdc0a92f1db5dfc171d884a6b8583702
treef52ddf01b4a17f722c26d84620e048a56eb7d279
parentf4a0660de34451e30f0bb8b65946b79c8bd375ca
xfs: set *stat=1 after iroot realloc

If we make the inode root block of a btree unfull by expanding the
root, we must set *stat to 1 to signal success, rather than leaving
it uninitialized.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_btree.c