projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
540ad6b
)
GFS2: Use nobh_writepage
author
Steven Whitehouse
<swhiteho@redhat.com>
Mon, 14 Jun 2010 08:58:41 +0000
(09:58 +0100)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Thu, 29 Jul 2010 08:36:14 +0000
(09:36 +0100)
Use nobh_writepage rather than calling mpage_writepage directly.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
fs/gfs2/aops.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/aops.c
b/fs/gfs2/aops.c
index 9f8b52500d63551c4111370bc59b357cb177f60a..9485a882d80bb9d5190c6267549296ce5d392a3e 100644
(file)
--- a/
fs/gfs2/aops.c
+++ b/
fs/gfs2/aops.c
@@
-136,10
+136,7
@@
static int gfs2_writeback_writepage(struct page *page,
if (ret <= 0)
return ret;
- ret = mpage_writepage(page, gfs2_get_block_noalloc, wbc);
- if (ret == -EAGAIN)
- ret = block_write_full_page(page, gfs2_get_block_noalloc, wbc);
- return ret;
+ return nobh_writepage(page, gfs2_get_block_noalloc, wbc);
}
/**