projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'perf/core' of ssh://k/pub/scm/linux/kernel/git/acme/linux into perf...
[linux-2.6-microblaze.git]
/
fs
/
buffer.c
diff --git
a/fs/buffer.c
b/fs/buffer.c
index
698c6b2
..
49c9aad
100644
(file)
--- a/
fs/buffer.c
+++ b/
fs/buffer.c
@@
-2382,6
+2382,7
@@
int __block_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf,
ret = -EAGAIN;
goto out_unlock;
}
+ wait_on_page_writeback(page);
return 0;
out_unlock:
unlock_page(page);