projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a8e4a2
)
Make alloc_page_buffers() initialise buffer_heads using init_buffer(),
author
Nathan Scott
<nathans@bruce>
Mon, 16 Jan 2006 22:02:07 +0000
(09:02 +1100)
committer
Nathan Scott
<nathans@bruce>
Mon, 16 Jan 2006 22:02:07 +0000
(09:02 +1100)
like other routines here, to ensure buffers are correctly initialised
with respect to b_private/b_end_io. Fixes an odd interaction between
XFS and reiserfs.
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/buffer.c
patch
|
blob
|
history
diff --git
a/fs/buffer.c
b/fs/buffer.c
index 7cdf48a9a50105c4a074d53f807077c398f4fdb5..3dc712f29d2d60fe4bdac9d1e84a20332384fef3 100644
(file)
--- a/
fs/buffer.c
+++ b/
fs/buffer.c
@@
-1027,7
+1027,7
@@
try_again:
/* Link the buffer to its page */
set_bh_page(bh, page, offset);
-
bh->b_end_io = NULL
;
+
init_buffer(bh, NULL, NULL)
;
}
return head;
/*