Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131028
b: refs/heads/master
c: 1d87b0d
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Feb 7, 2009
1 parent 940a871 commit 324fa68
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: 92dc07b1f988e8c237a38e23be660b9b8533e6fd
refs/heads/master: 1d87b0d388c65feb890f1e0aa832338a33d0760f
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 324fa68

Please sign in to comment.