X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fjbd%2Frecovery.c;h=43bc5e5ed0648860aa4971f038bdc17c11142e6a;hb=1ef708ea449e5eab2780020ec79485db80937833;hp=2b8edf4d6eaa6462c59f055f81017954d92b0e39;hpb=37969581301e50872a1ae84dc73962b5f7ee6b76;p=linux-2.6 diff --git a/fs/jbd/recovery.c b/fs/jbd/recovery.c index 2b8edf4d6e..43bc5e5ed0 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); }