diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-04-03 16:29:02 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:01 -0400 |
commit | 0ef8b2428a339e83fe225e82ef8bd0ea3f62b180 (patch) | |
tree | 0a41ce935561f7e8be24a36fb493650466f639c2 /fs/btrfs/ctree.c | |
parent | 0999df54f850fe1aba29b10d5c869493af107478 (diff) | |
download | op-kernel-dev-0ef8b2428a339e83fe225e82ef8bd0ea3f62b180.zip op-kernel-dev-0ef8b2428a339e83fe225e82ef8bd0ea3f62b180.tar.gz |
Btrfs: Properly dirty buffers in the split corner cases
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r-- | fs/btrfs/ctree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index df090bf..3c7891c 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c @@ -2052,6 +2052,7 @@ again: path->nodes[0] = right; path->slots[0] = 0; path->slots[1] += 1; + btrfs_mark_buffer_dirty(right); return ret; } mid = slot; @@ -2082,6 +2083,7 @@ again: if (wret) ret = wret; } + btrfs_mark_buffer_dirty(right); return ret; } else if (extend && slot == 0) { mid = 1; |