Btrfs: update to use fs_state bit
authorLiu Bo <bo.li.liu@oracle.com>
Mon, 11 Mar 2013 09:20:00 +0000 (09:20 +0000)
committerChris Mason <chris.mason@fusionio.com>
Thu, 21 Mar 2013 23:24:31 +0000 (19:24 -0400)
commitd763448286377b8a0e3f179372e9e292bef3c337
tree1c0dad16a83e986a6550e14c1fae48fbf9f47f3c
parent3b2775942d6ccb14342f3aae55f22fbbfea8db14
Btrfs: update to use fs_state bit

Now that we use bit operation to check fs_state, update
btrfs_free_fs_root()'s checker, otherwise we get back to
memory leak case.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/disk-io.c