summaryrefslogtreecommitdiff
path: root/fs/afs
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-09-15 17:10:20 +0400
committerJens Axboe <jens.axboe@oracle.com>2009-09-16 17:16:18 +0400
commit1fe06ad89255c211fe100d7f690d10b161398df8 (patch)
tree826d32bf081a6729aeaa08fe42422e49a9b86f6f /fs/afs
parent2c96ce9f2084c1e04d02883e622f74a537a63aea (diff)
downloadlinux-1fe06ad89255c211fe100d7f690d10b161398df8.tar.xz
writeback: get rid of wbc->for_writepages
It's only set, it's never checked. Kill it. Acked-by: Jan Kara <jack@suse.cz> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/afs')
-rw-r--r--fs/afs/write.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/afs/write.c b/fs/afs/write.c
index c2e7a7ff0080..c63a3c8beb73 100644
--- a/fs/afs/write.c
+++ b/fs/afs/write.c
@@ -712,7 +712,6 @@ int afs_writeback_all(struct afs_vnode *vnode)
.bdi = mapping->backing_dev_info,
.sync_mode = WB_SYNC_ALL,
.nr_to_write = LONG_MAX,
- .for_writepages = 1,
.range_cyclic = 1,
};
int ret;