commit | b48652c101cce7a54379a49cc0cf854cec2c94e2 | [log] [tgz] |
---|---|---|
author | Yan Zheng <zheng.yan@oracle.com> | Mon Aug 04 23:23:47 2008 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:04:06 2008 -0400 |
tree | 13e8250b326b71fed80811e1ed3b19b00beded31 | |
parent | 3de9d6b649b4cc60687be92e71cef36d7d4e8f2f [diff] [blame] |
Btrfs: Various small fixes. This trivial patch contains two locking fixes and a off by one fix. --- Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/root-tree.c b/fs/btrfs/root-tree.c index a5c0e98..3672669 100644 --- a/fs/btrfs/root-tree.c +++ b/fs/btrfs/root-tree.c
@@ -209,8 +209,7 @@ goto err; } - ret = btrfs_add_dead_root(dead_root, latest, - &root->fs_info->dead_roots); + ret = btrfs_add_dead_root(dead_root, latest); if (ret) goto err; goto again;