diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-09-15 09:10:20 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-09-16 09:16:18 -0400 |
commit | 1fe06ad89255c211fe100d7f690d10b161398df8 (patch) | |
tree | 826d32bf081a6729aeaa08fe42422e49a9b86f6f /fs/jbd2 | |
parent | 2c96ce9f2084c1e04d02883e622f74a537a63aea (diff) |
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 7b4088b2364..0df600e9162 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) | |||
220 | .nr_to_write = mapping->nrpages * 2, | 220 | .nr_to_write = mapping->nrpages * 2, |
221 | .range_start = 0, | 221 | .range_start = 0, |
222 | .range_end = i_size_read(mapping->host), | 222 | .range_end = i_size_read(mapping->host), |
223 | .for_writepages = 1, | ||
224 | }; | 223 | }; |
225 | 224 | ||
226 | ret = generic_writepages(mapping, &wbc); | 225 | ret = generic_writepages(mapping, &wbc); |