diff options
author | Davidlohr Bueso <dave@gnu.org> | 2012-01-10 15:11:05 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-10 16:30:53 -0800 |
commit | b18c1c6e0c90cbcd38ba879bd63a44c94e4f7301 (patch) | |
tree | 125638b5d0654dab6063a8171d9be821b03688d2 | |
parent | e74a8f2edb92cb690b467cea0ab652c509e9f624 (diff) | |
download | linux-3.10-b18c1c6e0c90cbcd38ba879bd63a44c94e4f7301.tar.gz linux-3.10-b18c1c6e0c90cbcd38ba879bd63a44c94e4f7301.tar.bz2 linux-3.10-b18c1c6e0c90cbcd38ba879bd63a44c94e4f7301.zip |
reiserfs: delete comments referring to the BKL
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | fs/reiserfs/journal.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/fs/reiserfs/journal.c b/fs/reiserfs/journal.c index eb711060a6f..cce8e8710df 100644 --- a/fs/reiserfs/journal.c +++ b/fs/reiserfs/journal.c @@ -2896,14 +2896,13 @@ int journal_transaction_should_end(struct reiserfs_transaction_handle *th, journal->j_cnode_free < (journal->j_trans_max * 3)) { return 1; } - /* protected by the BKL here */ + journal->j_len_alloc += new_alloc; th->t_blocks_allocated += new_alloc ; return 0; } -/* this must be called inside a transaction, and requires the -** kernel_lock to be held +/* this must be called inside a transaction */ void reiserfs_block_writes(struct reiserfs_transaction_handle *th) { @@ -2914,8 +2913,7 @@ void reiserfs_block_writes(struct reiserfs_transaction_handle *th) return; } -/* this must be called without a transaction started, and does not -** require BKL +/* this must be called without a transaction started */ void reiserfs_allow_writes(struct super_block *s) { @@ -2924,8 +2922,7 @@ void reiserfs_allow_writes(struct super_block *s) wake_up(&journal->j_join_wait); } -/* this must be called without a transaction started, and does not -** require BKL +/* this must be called without a transaction started */ void reiserfs_wait_on_write_block(struct super_block *s) { |