Skip to contentSkip to conversation

BKL-removal: remove incorrect comment refering to lock_kernel() from jbd/jbd2

PATCH New [email protected] 1 participant 1 message Feb 6, 2008 Journalling layer for block devices (JBD2)

lore
Share & tools
lore
#0 lore raw

PATCH 248/260 BKL-removal: remove incorrect comment refering to lock_kernel() from jbd/jbd2

From: Andi Kleen <[email protected]>

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.

---

 fs/jbd/recovery.c  |    2 +-
 fs/jbd2/recovery.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
fs/jbd/recovery.c renamed from fs/jbd/recovery.c~bkl-removal-remove-incorrect-comment-refering-to-lock_kernel-from-jbd-jbd2 +1 -1
diff -puN fs/jbd/recovery.c~bkl-removal-remove-incorrect-comment-refering-to-lock_kernel-from-jbd-jbd2 fs/jbd/recovery.c
@@ -354,7 +354,7 @@ static int do_one_pass(journal_t *journa
 		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
fs/jbd2/recovery.c renamed from fs/jbd2/recovery.c~bkl-removal-remove-incorrect-comment-refering-to-lock_kernel-from-jbd-jbd2 +1 -1
diff -puN fs/jbd2/recovery.c~bkl-removal-remove-incorrect-comment-refering-to-lock_kernel-from-jbd-jbd2 fs/jbd2/recovery.c
@@ -397,7 +397,7 @@ static int do_one_pass(journal_t *journa
 		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

_