]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: require both realtime inodes to mount
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 12 Dec 2018 23:18:52 +0000 (15:18 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 13 Dec 2018 20:03:45 +0000 (12:03 -0800)
commit2f63e10ac67404726c9e763880274c082e815f1c
treed4b349d3899b5ed2e7fbf7480a70db9b21079218
parentbb92c9cd2e1e23afd72a334504d37165cac12aec
xfs: require both realtime inodes to mount

Since mkfs always formats the filesystem with the realtime bitmap and
summary inodes immediately after the root directory, we should expect
that both of them are present and loadable, even if there isn't a
realtime volume attached.  There's no reason to skip this if rbmino ==
NULLFSINO; in fact, this causes an immediate crash if the there /is/ a
realtime volume and someone writes to it.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Bill O'Donnell <billodo@redhat.com>
fs/xfs/xfs_rtalloc.c