]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: ensure that we don't crash when freeing the ag reservations on a ro mount
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 10 Feb 2016 07:09:15 +0000 (23:09 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 12 Feb 2016 17:39:05 +0000 (09:39 -0800)
commit4562a0f6d44c36808c14ba7580d866e00675a1b0
tree19a03ee4216fca3b33369d5aec820de95b5a1efc
parent130d7f0d1ecfc10c9d1ffc29422e0e5c2728936d
xfs: ensure that we don't crash when freeing the ag reservations on a ro mount

Christoph Hellwig discovered that the kernel crashed trying to free
the refcount btree per-ag reservation on a ro mount (because we don't
create the reservation except for rw mounts and ro->rw remounts).  So,
test this to make sure we never do that again. :)

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
tests/xfs/247 [new file with mode: 0755]
tests/xfs/247.out [new file with mode: 0644]
tests/xfs/group