Skip to content

Commit

Permalink
BKL-removal: remove incorrect comment refering to lock_kernel() from …
Browse files Browse the repository at this point in the history
…jbd/jbd2

None of the callers of this function does actually take the BKL as far as I
can see.  So remove the comment refering to the BKL.

Signed-off-by: Andi Kleen <ak@suse.de>
Cc: <linux-ext4@vger.kernel.org>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Feb 6, 2008
1 parent d71cadd commit e86e143
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fs/jbd/recovery.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ static int do_one_pass(journal_t *journal,
struct buffer_head * obh;
struct buffer_head * nbh;

cond_resched(); /* We're under lock_kernel() */
cond_resched();

/* If we already know where to stop the log traversal,
* check right now that we haven't gone past the end of
Expand Down
2 changes: 1 addition & 1 deletion fs/jbd2/recovery.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ static int do_one_pass(journal_t *journal,
struct buffer_head * obh;
struct buffer_head * nbh;

cond_resched(); /* We're under lock_kernel() */
cond_resched();

/* If we already know where to stop the log traversal,
* check right now that we haven't gone past the end of
Expand Down

0 comments on commit e86e143

Please sign in to comment.