Commit b057babe authored by Andrew Morton's avatar Andrew Morton Committed by James Toy

generic_sync_sb_indeos() changed

Cc: Edward Shishkin <edward.shishkin@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 1de16a54
...@@ -241,7 +241,7 @@ static void entd_flush(struct super_block *super, struct wbq *rq) ...@@ -241,7 +241,7 @@ static void entd_flush(struct super_block *super, struct wbq *rq)
if (rq->wbc->nr_to_write > 0) { if (rq->wbc->nr_to_write > 0) {
rq->wbc->range_start = 0; rq->wbc->range_start = 0;
rq->wbc->range_end = LLONG_MAX; rq->wbc->range_end = LLONG_MAX;
generic_sync_sb_inodes(super, rq->wbc); generic_sync_sb_inodes(rq->wbc);
} }
rq->wbc->nr_to_write = ENTD_CAPTURE_APAGE_BURST; rq->wbc->nr_to_write = ENTD_CAPTURE_APAGE_BURST;
reiser4_writeout(super, rq->wbc); reiser4_writeout(super, rq->wbc);
......
...@@ -412,7 +412,7 @@ static void reiser4_sync_inodes(struct super_block *super, ...@@ -412,7 +412,7 @@ static void reiser4_sync_inodes(struct super_block *super,
* call reiser4_writepages for each of dirty inodes to turn dirty pages * call reiser4_writepages for each of dirty inodes to turn dirty pages
* into transactions if they were not yet. * into transactions if they were not yet.
*/ */
generic_sync_sb_inodes(super, wbc); generic_sync_sb_inodes(wbc);
/* flush goes here */ /* flush goes here */
wbc->nr_to_write = to_write; wbc->nr_to_write = to_write;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment