Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217787
b: refs/heads/master
c: 309f77a
h: refs/heads/master
i:
  217785: 8794fb8
  217783: e581090
v: v3
  • Loading branch information
Namhyung Kim authored and Al Viro committed Oct 26, 2010
1 parent f82b238 commit 7a3b32a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 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: a3314a0ed389f51a51695120b429eccd45b3a165
refs/heads/master: 309f77ad9bea057d55b04580b5a711e9e3727e83
9 changes: 4 additions & 5 deletions trunk/fs/buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -2458,11 +2458,10 @@ int nobh_write_begin(struct address_space *mapping,
*fsdata = NULL;

if (page_has_buffers(page)) {
unlock_page(page);
page_cache_release(page);
*pagep = NULL;
return block_write_begin(mapping, pos, len, flags, pagep,
get_block);
ret = __block_write_begin(page, pos, len, get_block);
if (unlikely(ret))
goto out_release;
return ret;
}

if (PageMappedToDisk(page))
Expand Down

0 comments on commit 7a3b32a

Please sign in to comment.