btrfs: test unmount during quota rescan
authorJustin Maggard <jmaggard10@gmail.com>
Mon, 16 Nov 2015 21:42:29 +0000 (08:42 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 16 Nov 2015 21:42:29 +0000 (08:42 +1100)
commit7be74ad2968f0ef9c9030ecca66cd1e34e64e967
tree68b5786095db671b3bca7c3457ff04c26263466a
parent1d2fc0984eae6c95b4fadbff728bcd1bb6407164
btrfs: test unmount during quota rescan

This test case tests if we are able to unmount a filesystem while
a quota rescan is running.  Up to now (4.3) this would result
in a kernel NULL pointer dereference.

Fixed by patch (btrfs: qgroup: exit the rescan worker during umount).

Signed-off-by: Justin Maggard <jmaggard@netgear.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/114 [new file with mode: 0644]
tests/btrfs/114.out [new file with mode: 0644]
tests/btrfs/group