projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0999df5
)
Btrfs: Properly dirty buffers in the split corner cases
author
Chris Mason
<chris.mason@oracle.com>
Thu, 3 Apr 2008 20:29:02 +0000
(16:29 -0400)
committer
Chris Mason
<chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:01 +0000
(11:04 -0400)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/ctree.c
b/fs/btrfs/ctree.c
index
df090bf
..
3c7891c
100644
(file)
--- 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;