diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2010-06-14 09:58:41 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2010-07-29 09:36:14 +0100 |
commit | 30116ff6c6d140bc696cc624e6d8e38f018c886e (patch) | |
tree | d6a69965d025c9de83ff0611a6c5eda913da0430 /fs/gfs2/aops.c | |
parent | 540ad6b62b3a188a53b51cac81d8a60d40e29fbd (diff) | |
download | linux-30116ff6c6d140bc696cc624e6d8e38f018c886e.tar.gz linux-30116ff6c6d140bc696cc624e6d8e38f018c886e.tar.bz2 linux-30116ff6c6d140bc696cc624e6d8e38f018c886e.zip |
GFS2: Use nobh_writepage
Use nobh_writepage rather than calling mpage_writepage directly.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/gfs2/aops.c')
-rw-r--r-- | fs/gfs2/aops.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/gfs2/aops.c b/fs/gfs2/aops.c index 9f8b52500d63..9485a882d80b 100644 --- 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); } /** |