diff options
| author | Yan Zheng <zheng.yan@oracle.com> | 2008-08-04 23:23:47 -0400 |
|---|---|---|
| committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:06 -0400 |
| commit | b48652c101cce7a54379a49cc0cf854cec2c94e2 (patch) | |
| tree | 13e8250b326b71fed80811e1ed3b19b00beded31 /fs/btrfs/root-tree.c | |
| parent | 3de9d6b649b4cc60687be92e71cef36d7d4e8f2f (diff) | |
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.c | 3 |
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: | |||
| 209 | goto err; | 209 | goto err; |
| 210 | } | 210 | } |
| 211 | 211 | ||
| 212 | ret = btrfs_add_dead_root(dead_root, latest, | 212 | ret = btrfs_add_dead_root(dead_root, latest); |
| 213 | &root->fs_info->dead_roots); | ||
| 214 | if (ret) | 213 | if (ret) |
| 215 | goto err; | 214 | goto err; |
| 216 | goto again; | 215 | goto again; |
