Btrfs: fix freeze vs auto defrag
authorMiao Xie <miaox@cn.fujitsu.com>
Mon, 26 Nov 2012 09:27:29 +0000 (09:27 +0000)
committerChris Mason <chris.mason@fusionio.com>
Mon, 17 Dec 2012 01:46:12 +0000 (20:46 -0500)
commitb66f00da0cfceb856c17706b77906b63437f6fda
tree1e08ae66d5369d7097ce52ff2881945322418c01
parent26176e7c2aa923327becdc25b5aca2cb907ac932
Btrfs: fix freeze vs auto defrag

If we freeze the fs, the auto defragment should not run. Fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/file.c