File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -2896,14 +2896,13 @@ int journal_transaction_should_end(struct reiserfs_transaction_handle *th,
2896
2896
journal -> j_cnode_free < (journal -> j_trans_max * 3 )) {
2897
2897
return 1 ;
2898
2898
}
2899
- /* protected by the BKL here */
2899
+
2900
2900
journal -> j_len_alloc += new_alloc ;
2901
2901
th -> t_blocks_allocated += new_alloc ;
2902
2902
return 0 ;
2903
2903
}
2904
2904
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
2907
2906
*/
2908
2907
void reiserfs_block_writes (struct reiserfs_transaction_handle * th )
2909
2908
{
@@ -2914,8 +2913,7 @@ void reiserfs_block_writes(struct reiserfs_transaction_handle *th)
2914
2913
return ;
2915
2914
}
2916
2915
2917
- /* this must be called without a transaction started, and does not
2918
- ** require BKL
2916
+ /* this must be called without a transaction started
2919
2917
*/
2920
2918
void reiserfs_allow_writes (struct super_block * s )
2921
2919
{
@@ -2924,8 +2922,7 @@ void reiserfs_allow_writes(struct super_block *s)
2924
2922
wake_up (& journal -> j_join_wait );
2925
2923
}
2926
2924
2927
- /* this must be called without a transaction started, and does not
2928
- ** require BKL
2925
+ /* this must be called without a transaction started
2929
2926
*/
2930
2927
void reiserfs_wait_on_write_block (struct super_block * s )
2931
2928
{
You can’t perform that action at this time.
0 commit comments