diff options
author | Davidlohr Bueso <dave@gnu.org> | 2012-01-10 18:11:05 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-10 19:30:53 -0500 |
commit | b18c1c6e0c90cbcd38ba879bd63a44c94e4f7301 (patch) | |
tree | 125638b5d0654dab6063a8171d9be821b03688d2 /fs/reiserfs | |
parent | e74a8f2edb92cb690b467cea0ab652c509e9f624 (diff) |
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>
Diffstat (limited to 'fs/reiserfs')
-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 eb711060a6f2..cce8e8710df2 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, | |||
2896 | journal->j_cnode_free < (journal->j_trans_max * 3)) { | 2896 | journal->j_cnode_free < (journal->j_trans_max * 3)) { |
2897 | return 1; | 2897 | return 1; |
2898 | } | 2898 | } |
2899 | /* protected by the BKL here */ | 2899 | |
2900 | journal->j_len_alloc += new_alloc; | 2900 | journal->j_len_alloc += new_alloc; |
2901 | th->t_blocks_allocated += new_alloc ; | 2901 | th->t_blocks_allocated += new_alloc ; |
2902 | return 0; | 2902 | return 0; |
2903 | } | 2903 | } |
2904 | 2904 | ||
2905 | /* this must be called inside a transaction, and requires the | 2905 | /* this must be called inside a transaction |
2906 | ** kernel_lock to be held | ||
2907 | */ | 2906 | */ |
2908 | void reiserfs_block_writes(struct reiserfs_transaction_handle *th) | 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 | return; | 2913 | return; |
2915 | } | 2914 | } |
2916 | 2915 | ||
2917 | /* this must be called without a transaction started, and does not | 2916 | /* this must be called without a transaction started |
2918 | ** require BKL | ||
2919 | */ | 2917 | */ |
2920 | void reiserfs_allow_writes(struct super_block *s) | 2918 | void reiserfs_allow_writes(struct super_block *s) |
2921 | { | 2919 | { |
@@ -2924,8 +2922,7 @@ void reiserfs_allow_writes(struct super_block *s) | |||
2924 | wake_up(&journal->j_join_wait); | 2922 | wake_up(&journal->j_join_wait); |
2925 | } | 2923 | } |
2926 | 2924 | ||
2927 | /* this must be called without a transaction started, and does not | 2925 | /* this must be called without a transaction started |
2928 | ** require BKL | ||
2929 | */ | 2926 | */ |
2930 | void reiserfs_wait_on_write_block(struct super_block *s) | 2927 | void reiserfs_wait_on_write_block(struct super_block *s) |
2931 | { | 2928 | { |