diff options
author | Jan Kara <jack@suse.cz> | 2005-09-06 15:19:12 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 16:57:55 -0700 |
commit | 26707699b5337ea471ba1774447e8a1170c99e52 (patch) | |
tree | 13ea647feb0f0eb026a4a00fd0e1d522d71876ca /fs/jbd/journal.c | |
parent | a7662236253374012d364106b6dc9161bd929e2e (diff) | |
download | linux-3.10-26707699b5337ea471ba1774447e8a1170c99e52.tar.gz linux-3.10-26707699b5337ea471ba1774447e8a1170c99e52.tar.bz2 linux-3.10-26707699b5337ea471ba1774447e8a1170c99e52.zip |
[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/journal.c')
-rw-r--r-- | fs/jbd/journal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jbd/journal.c b/fs/jbd/journal.c index 334f4cf0823..7ae2c4fe506 100644 --- a/fs/jbd/journal.c +++ b/fs/jbd/journal.c @@ -957,7 +957,7 @@ void journal_update_superblock(journal_t *journal, int wait) if (wait) sync_dirty_buffer(bh); else - ll_rw_block(WRITE, 1, &bh); + ll_rw_block(SWRITE, 1, &bh); out: /* If we have just flushed the log (by marking s_start==0), then |