Li Zefan
f106e82caa
Btrfs: Fix a crash when mounting a subvolume
...
We should drop dentry before deactivating the superblock, otherwise
we can hit this bug:
BUG: Dentry f349a690{i=100,n=/} still in use (1) [unmount of btrfs loop1]
...
Steps to reproduce the bug:
# mount /dev/loop1 /mnt
# mkdir save
# btrfs subvolume snapshot /mnt save/snap1
# umount /mnt
# mount -o subvol=save/snap1 /dev/loop1 /mnt
(crash)
Reported-by: Michael Niederle <mniederle@gmx.at>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
2010-12-10 16:29:10 -05:00
..
2010-06-11 14:18:47 -07:00
2010-05-25 10:34:58 -04:00
2009-10-05 09:44:45 -04:00
2010-05-25 10:34:52 -04:00
2009-01-06 09:38:55 -05:00
2010-11-21 22:26:03 -05:00
2008-10-29 14:49:59 -04:00
2010-10-29 15:14:37 -04:00
2010-11-21 22:26:07 -05:00
2010-05-25 10:34:50 -04:00
2010-05-25 10:34:50 -04:00
2010-10-29 15:14:31 -04:00
2010-11-29 09:49:11 -05:00
2010-05-25 10:34:58 -04:00
2010-11-21 22:26:08 -05:00
2008-09-25 11:04:06 -04:00
2010-11-27 13:37:50 -05:00
2010-11-21 22:26:03 -05:00
2010-10-29 15:14:23 -04:00
2009-09-18 16:08:52 -04:00
2010-12-10 16:29:04 -05:00
2010-05-25 10:34:57 -04:00
2010-11-21 22:26:09 -05:00
2010-12-09 13:57:12 -05:00
2010-10-29 09:26:35 -04:00
2009-06-10 11:29:53 -04:00
2010-05-25 10:34:50 -04:00
2009-09-21 15:56:00 -04:00
2010-12-10 16:29:09 -05:00
2010-12-10 16:29:10 -05:00
2010-10-29 21:41:57 -04:00
2009-12-17 13:23:24 -08:00
2010-03-30 22:02:32 +09:00
2009-03-09 11:45:38 -04:00
2009-06-10 11:29:46 -04:00
2010-11-28 19:56:33 -05:00
2010-11-28 19:56:33 -05:00
2010-12-09 13:57:15 -05:00
2009-07-22 16:52:13 -04:00
2008-09-25 11:03:56 -04:00
2010-03-30 22:02:32 +09:00
2010-03-08 16:26:50 -05:00
2010-10-29 15:14:31 -04:00
2010-10-29 15:14:37 -04:00
2009-01-05 21:25:51 -05:00
2010-12-10 16:29:10 -05:00
2010-03-07 17:04:49 -08:00
2010-11-21 22:26:09 -05:00
2010-10-29 15:41:32 -04:00
2010-10-29 15:14:37 -04:00
2010-11-21 22:26:09 -05:00
2010-05-25 10:34:53 -04:00
2008-09-25 15:41:59 -04:00
2008-11-19 21:17:22 -05:00
2010-10-29 15:14:37 -04:00
2009-09-21 19:23:48 -04:00
2010-10-29 15:14:37 -04:00
2010-05-21 18:31:18 -04:00
2010-10-29 15:14:37 -04:00