Skip to content

Commit b18c1c6

Browse files
Davidlohr Buesotorvalds
authored andcommitted
reiserfs: delete comments referring to the BKL
Signed-off-by: Davidlohr Bueso <[email protected]> Cc: Jan Kara <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent e74a8f2 commit b18c1c6

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

fs/reiserfs/journal.c

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2896,14 +2896,13 @@ int journal_transaction_should_end(struct reiserfs_transaction_handle *th,
28962896
journal->j_cnode_free < (journal->j_trans_max * 3)) {
28972897
return 1;
28982898
}
2899-
/* protected by the BKL here */
2899+
29002900
journal->j_len_alloc += new_alloc;
29012901
th->t_blocks_allocated += new_alloc ;
29022902
return 0;
29032903
}
29042904

2905-
/* this must be called inside a transaction, and requires the
2906-
** kernel_lock to be held
2905+
/* this must be called inside a transaction
29072906
*/
29082907
void reiserfs_block_writes(struct reiserfs_transaction_handle *th)
29092908
{
@@ -2914,8 +2913,7 @@ void reiserfs_block_writes(struct reiserfs_transaction_handle *th)
29142913
return;
29152914
}
29162915

2917-
/* this must be called without a transaction started, and does not
2918-
** require BKL
2916+
/* this must be called without a transaction started
29192917
*/
29202918
void reiserfs_allow_writes(struct super_block *s)
29212919
{
@@ -2924,8 +2922,7 @@ void reiserfs_allow_writes(struct super_block *s)
29242922
wake_up(&journal->j_join_wait);
29252923
}
29262924

2927-
/* this must be called without a transaction started, and does not
2928-
** require BKL
2925+
/* this must be called without a transaction started
29292926
*/
29302927
void reiserfs_wait_on_write_block(struct super_block *s)
29312928
{

0 commit comments

Comments
 (0)