Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e86e1438 authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds
Browse files

BKL-removal: remove incorrect comment refering to lock_kernel() from 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: default avatarAndi Kleen <ak@suse.de>
Cc: <linux-ext4@vger.kernel.org>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d71cadd6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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