mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-08 07:38:10 +00:00
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>
This commit is contained in:
parent
e74a8f2edb
commit
b18c1c6e0c
1 changed files with 4 additions and 7 deletions
|
@ -2896,14 +2896,13 @@ int journal_transaction_should_end(struct reiserfs_transaction_handle *th,
|
||||||
journal->j_cnode_free < (journal->j_trans_max * 3)) {
|
journal->j_cnode_free < (journal->j_trans_max * 3)) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
/* protected by the BKL here */
|
|
||||||
journal->j_len_alloc += new_alloc;
|
journal->j_len_alloc += new_alloc;
|
||||||
th->t_blocks_allocated += new_alloc ;
|
th->t_blocks_allocated += new_alloc ;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* this must be called inside a transaction, and requires the
|
/* this must be called inside a transaction
|
||||||
** kernel_lock to be held
|
|
||||||
*/
|
*/
|
||||||
void reiserfs_block_writes(struct reiserfs_transaction_handle *th)
|
void reiserfs_block_writes(struct reiserfs_transaction_handle *th)
|
||||||
{
|
{
|
||||||
|
@ -2914,8 +2913,7 @@ void reiserfs_block_writes(struct reiserfs_transaction_handle *th)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* this must be called without a transaction started, and does not
|
/* this must be called without a transaction started
|
||||||
** require BKL
|
|
||||||
*/
|
*/
|
||||||
void reiserfs_allow_writes(struct super_block *s)
|
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);
|
wake_up(&journal->j_join_wait);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* this must be called without a transaction started, and does not
|
/* this must be called without a transaction started
|
||||||
** require BKL
|
|
||||||
*/
|
*/
|
||||||
void reiserfs_wait_on_write_block(struct super_block *s)
|
void reiserfs_wait_on_write_block(struct super_block *s)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue