projects
/
unionfs-2.6.25.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cdb4e3
)
Unionfs: call wait_on_page_writeback before clear_page_dirty_for_io
author
Erez Zadok
<ezk@cs.sunysb.edu>
Tue, 27 Nov 2007 00:11:38 +0000
(19:11 -0500)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Mon, 12 Jan 2009 23:20:47 +0000
(18:20 -0500)
CC: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/mmap.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/mmap.c
b/fs/unionfs/mmap.c
index 8c07eed40cbd4121c995df508043734619e5f23a..4d05352ed516811d20dc5c7bede56791586ff0c5 100644
(file)
--- a/
fs/unionfs/mmap.c
+++ b/
fs/unionfs/mmap.c
@@
-72,8
+72,8
@@
static int unionfs_writepage(struct page *page, struct writeback_control *wbc)
}
BUG_ON(!lower_mapping->a_ops->writepage);
- clear_page_dirty_for_io(lower_page); /* emulate VFS behavior */
wait_on_page_writeback(lower_page); /* prevent multiple writers */
+ clear_page_dirty_for_io(lower_page); /* emulate VFS behavior */
err = lower_mapping->a_ops->writepage(lower_page, wbc);
if (err < 0)
goto out_release;