summaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2009-04-14 10:10:47 -0400
committerTheodore Ts'o <tytso@mit.edu>2009-04-14 10:10:47 -0400
commit38d726d153cfe5efe5fe22d28d36ab382dda3a5c (patch)
treef5403a0abb0ac7e8bbdd12403a70d4151559e778 /fs/jbd/commit.c
parent67c457a8c378a006a34d92f9bd3078a80a92f250 (diff)
downloadblackbird-op-linux-38d726d153cfe5efe5fe22d28d36ab382dda3a5c.tar.gz
blackbird-op-linux-38d726d153cfe5efe5fe22d28d36ab382dda3a5c.zip
jbd: use SWRITE_SYNC_PLUG when writing synchronous revoke records
The revoke records must be written using the same way as the rest of the blocks during the commit process; that is, either marked as synchronous writes or as asynchornous writes. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/jbd/commit.c')
-rw-r--r--fs/jbd/commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jbd/commit.c b/fs/jbd/commit.c
index a8e8513a78a9..06560c520f49 100644
--- a/fs/jbd/commit.c
+++ b/fs/jbd/commit.c
@@ -502,7 +502,7 @@ void journal_commit_transaction(journal_t *journal)
err = 0;
}
- journal_write_revoke_records(journal, commit_transaction);
+ journal_write_revoke_records(journal, commit_transaction, write_op);
/*
* If we found any dirty or locked buffers, then we should have
OpenPOWER on IntegriCloud