Skip to content

Commit

Permalink
reiserfs: delete comments referring to the BKL
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Davidlohr Bueso authored and Linus Torvalds committed Jan 11, 2012
1 parent e74a8f2 commit b18c1c6
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions fs/reiserfs/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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)
{
Expand All @@ -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)
{
Expand Down

0 comments on commit b18c1c6

Please sign in to comment.