]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix unblocked autodefraggers when remount
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 11 Apr 2013 10:29:35 +0000 (10:29 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 6 May 2013 19:54:45 +0000 (15:54 -0400)
commitb16c8f51314cc704f78fc0cd0cb115b00dc4e1dc
tree185c7dd8ba87589430885f90fc18907b20a93fde
parent797900ccb0a62081076f0468fa929b6fa625b1fa
Btrfs: fix unblocked autodefraggers when remount

The new mount option is set after parsing the remount arguments,
so it is wrong that checking the autodefrag is close or not at
btrfs_remount_prepare(). Fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/super.c