]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/jbd/recovery.c
[S390] bus_id -> dev_name conversions
[linux-2.6-omap-h63xx.git] / fs / jbd / recovery.c
index c5d9694b6a2ff2df7f9311942674321c05147c88..43bc5e5ed0648860aa4971f038bdc17c11142e6a 100644 (file)
@@ -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
@@ -478,7 +478,7 @@ static int do_one_pass(journal_t *journal,
                                        memcpy(nbh->b_data, obh->b_data,
                                                        journal->j_blocksize);
                                        if (flags & JFS_FLAG_ESCAPE) {
-                                               *((__be32 *)bh->b_data) =
+                                               *((__be32 *)nbh->b_data) =
                                                cpu_to_be32(JFS_MAGIC_NUMBER);
                                        }