Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118747
b: refs/heads/master
c: 4c1bbf1
h: refs/heads/master
i:
  118745: ba06f07
  118743: 2e972d1
v: v3
  • Loading branch information
Tao Ma authored and Mark Fasheh committed Nov 10, 2008
1 parent 3b0a379 commit 3f41a6c
Show file tree
Hide file tree
Showing 2 changed files with 6 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: ae0dff683076b2798763288c7ac2f09a18c4a998
refs/heads/master: 4c1bbf1ba631d7db61ce3462349a3f5d14ae3009
6 changes: 5 additions & 1 deletion trunk/fs/ocfs2/mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,11 @@ static int __ocfs2_page_mkwrite(struct inode *inode, struct buffer_head *di_bh,
* ocfs2_write_begin_nolock().
*/
if (!PageUptodate(page) || page->mapping != inode->i_mapping) {
ret = -EINVAL;
/*
* the page has been umapped in ocfs2_data_downconvert_worker.
* So return 0 here and let VFS retry.
*/
ret = 0;
goto out;
}

Expand Down

0 comments on commit 3f41a6c

Please sign in to comment.