]> www.infradead.org Git - users/hch/xfsprogs.git/commit
mkfs: fix crash when initializing rbmip libxfs-4.6-sync
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 29 Feb 2016 05:03:07 +0000 (16:03 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 29 Feb 2016 05:03:07 +0000 (16:03 +1100)
commit71893d81b6079a3b73a1b2dece4ac3d36ba2a0bc
treeab0d11dc62e1a9a3efd5e978c90e436c92fa54b7
parentff0f39eadb85f3eb0110184bf6d64e43a2ed7f3d
mkfs: fix crash when initializing rbmip

Initialize rbmip, log the inode, /then/ assign it to the xfs_mount.
Don't try to access rbmip in the xfs_mount before that, or it'll crash.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
mkfs/proto.c