summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/root-tree.c
diff options
context:
space:
mode:
authorYan Zheng <zheng.yan@oracle.com>2008-08-05 05:23:47 +0200
committerChris Mason <chris.mason@oracle.com>2008-09-25 17:04:06 +0200
commitb48652c101cce7a54379a49cc0cf854cec2c94e2 (patch)
tree13e8250b326b71fed80811e1ed3b19b00beded31 /fs/btrfs/root-tree.c
parentbtrfs_lookup_bio_sums seems broken, go back to the readpage_io_hook for now (diff)
downloadlinux-b48652c101cce7a54379a49cc0cf854cec2c94e2.tar.xz
linux-b48652c101cce7a54379a49cc0cf854cec2c94e2.zip
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>
Diffstat (limited to 'fs/btrfs/root-tree.c')
-rw-r--r--fs/btrfs/root-tree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/root-tree.c b/fs/btrfs/root-tree.c
index a5c0e98b5aeb..36726696e58b 100644
--- a/fs/btrfs/root-tree.c
+++ b/fs/btrfs/root-tree.c
@@ -209,8 +209,7 @@ again:
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;