aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/revoke.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2005-09-06 18:19:12 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-07 19:57:55 -0400
commit26707699b5337ea471ba1774447e8a1170c99e52 (patch)
tree13ea647feb0f0eb026a4a00fd0e1d522d71876ca /fs/jbd/revoke.c
parenta7662236253374012d364106b6dc9161bd929e2e (diff)
[PATCH] Change ll_rw_block() calls in JBD
We must be sure that the current data in buffer are sent to disk. Hence we have to call ll_rw_block() with SWRITE. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/jbd/revoke.c')
-rw-r--r--fs/jbd/revoke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jbd/revoke.c b/fs/jbd/revoke.c
index 93b9f45eebda..a56144183462 100644
--- a/fs/jbd/revoke.c
+++ b/fs/jbd/revoke.c
@@ -614,7 +614,7 @@ static void flush_descriptor(journal_t *journal,
614 set_buffer_jwrite(bh); 614 set_buffer_jwrite(bh);
615 BUFFER_TRACE(bh, "write"); 615 BUFFER_TRACE(bh, "write");
616 set_buffer_dirty(bh); 616 set_buffer_dirty(bh);
617 ll_rw_block(WRITE, 1, &bh); 617 ll_rw_block(SWRITE, 1, &bh);
618} 618}
619#endif 619#endif
620 620