Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131026
b: refs/heads/master
c: d4cf109
h: refs/heads/master
v: v3
  • Loading branch information
Dave Kleikamp authored and Linus Torvalds committed Feb 6, 2009
1 parent 5feb94d commit 85845a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6cec50838ed04a9833fb5549f698d3756bbe7e72
refs/heads/master: d4cf109f05ff04c6f5065c3e14165ef01a57dd53
2 changes: 1 addition & 1 deletion trunk/fs/buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -2688,7 +2688,7 @@ int nobh_write_end(struct file *file, struct address_space *mapping,
struct buffer_head *bh;
BUG_ON(fsdata != NULL && page_has_buffers(page));

if (unlikely(copied < len) && !page_has_buffers(page))
if (unlikely(copied < len) && head)
attach_nobh_buffers(page, head);
if (page_has_buffers(page))
return generic_write_end(file, mapping, pos, len,
Expand Down

0 comments on commit 85845a3

Please sign in to comment.