Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Kernel v2.6.24.4 /fs/jbd/recovery.c

Filename:/fs/jbd/recovery.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.6.24.4-rc3  2.6.24.4-rc2  2.6.24.4-rc1  2.6.24-git22  2.6.24-git21  2.6.24-git20 
(Following) 2.6.24.5  2.6.24.6  2.6.24.7  2.6.25-rc6-git8  2.6.25-rc7  2.6.25-rc8 

Location
[  2.6.24.4
  [  fs
    [  jbd
       o  recovery.c

Patch

diff --git a/fs/jbd/recovery.c b/fs/jbd/recovery.c
index c5d9694..9aaa4fa 100644
--- a/fs/jbd/recovery.c
+++ b/fs/jbd/recovery.c
@@ -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);
                }
 


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.