diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-09-15 15:10:20 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-09-16 15:16:18 +0200 |
commit | 1fe06ad89255c211fe100d7f690d10b161398df8 (patch) | |
tree | 826d32bf081a6729aeaa08fe42422e49a9b86f6f /fs/jbd2 | |
parent | 2c96ce9f2084c1e04d02883e622f74a537a63aea (diff) | |
download | kernel-common-1fe06ad89255c211fe100d7f690d10b161398df8.tar.gz kernel-common-1fe06ad89255c211fe100d7f690d10b161398df8.tar.bz2 kernel-common-1fe06ad89255c211fe100d7f690d10b161398df8.zip |
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/jbd2')
-rw-r--r-- | fs/jbd2/commit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c index 7b4088b2364d..0df600e9162d 100644 --- a/fs/jbd2/commit.c +++ b/fs/jbd2/commit.c @@ -220,7 +220,6 @@ static int journal_submit_inode_data_buffers(struct address_space *mapping) .nr_to_write = mapping->nrpages * 2, .range_start = 0, .range_end = i_size_read(mapping->host), - .for_writepages = 1, }; ret = generic_writepages(mapping, &wbc); |