Update to 2.6.24-git12; also remove all uses of iget() with iget_locked()
[ext4-patch-queue.git] / remove_incorrect_comment_refering_to_lock_kernel_from_jbd-jbd2
blobf064c777dafd38b3f72dcfe109f0077f3f6aa966
1 Remove incorrect comment refering to lock_kernel() from jbd/jbd2
3 From: Andi Kleen <ak@suse.de>
5 None of the callers of this function does actually take the BKL
6 as far as I can see. So remove the comment refering to the BKL.
8 Signed-off-by: Andi Kleen <ak@suse.de>
9 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
11 diff --git a/fs/jbd/recovery.c b/fs/jbd/recovery.c
12 index c5d9694..2b8edf4 100644
13 --- a/fs/jbd/recovery.c
14 +++ b/fs/jbd/recovery.c
15 @@ -354,7 +354,7 @@ static int do_one_pass(journal_t *journal,
16                 struct buffer_head *    obh;
17                 struct buffer_head *    nbh;
19 -               cond_resched();         /* We're under lock_kernel() */
20 +               cond_resched();
22                 /* If we already know where to stop the log traversal,
23                  * check right now that we haven't gone past the end of
24 diff --git a/fs/jbd2/recovery.c b/fs/jbd2/recovery.c
25 index 9216806..d36356f 100644
26 --- a/fs/jbd2/recovery.c
27 +++ b/fs/jbd2/recovery.c
28 @@ -397,7 +397,7 @@ static int do_one_pass(journal_t *journal,
29                 struct buffer_head *    obh;
30                 struct buffer_head *    nbh;
32 -               cond_resched();         /* We're under lock_kernel() */
33 +               cond_resched();
35                 /* If we already know where to stop the log traversal,
36                  * check right now that we haven't gone past the end of