]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: set *stat=1 after iroot realloc
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 10 Aug 2016 01:29:36 +0000 (11:29 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 10 Aug 2016 01:29:36 +0000 (11:29 +1000)
commitcff8bf94d0aa4d8bc50d3b3fee2c086ceebc0988
treec7634eed19d17e8e3d9a950f6ec83ae8092844ff
parenta62ed6d3c5f69611ae909f19c1e1f152e95c320d
xfs: set *stat=1 after iroot realloc

Source kernel commit: 0d309791bdc0a92f1db5dfc171d884a6b8583702

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>
libxfs/xfs_btree.c