[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reiserfs with non-standard journal...
From: |
Yoshinori K. Okuji |
Subject: |
Re: Reiserfs with non-standard journal... |
Date: |
Mon, 09 Jun 2003 04:41:36 +0900 |
User-agent: |
Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (UnebigoryĆmae) APEL/10.3 Emacs/21.2 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI) |
Jochen, do you have any idea about this patch?
Thanks,
Okuji
At Tue, 27 May 2003 13:58:55 +0400,
Yury Umanets wrote:
>
> [1 <text/plain; us-ascii (7bit)>]
> Hello Okuji,
> This is patch for support reiserfs with non-standard journal. See
> attachment for details.
>
> --
> Yury Umanets
>
>
>
> [2 grub-reiserfs-non-standard-journal.diff <text/plain (7bit)>]
> diff -urN --exclude='*CVS*' ./grub.orig/stage2/fsys_reiserfs.c
> ./grub/stage2/fsys_reiserfs.c
> --- ./grub.orig/stage2/fsys_reiserfs.c Mon Mar 10 04:15:15 2003
> +++ ./grub/stage2/fsys_reiserfs.c Tue May 27 13:55:11 2003
> @@ -77,6 +77,7 @@
> #define REISERFS_MAX_SUPPORTED_VERSION 2
> #define REISERFS_SUPER_MAGIC_STRING "ReIsErFs"
> #define REISER2FS_SUPER_MAGIC_STRING "ReIsEr2Fs"
> +#define REISER3FS_SUPER_MAGIC_STRING "ReIsEr3Fs"
>
> #define MAX_HEIGHT 7
>
> @@ -576,7 +577,8 @@
> || ! devread (superblock, 0, sizeof (struct reiserfs_super_block),
> (char *) &super)
> || (substring (REISER2FS_SUPER_MAGIC_STRING, super.s_magic) > 0
> - && substring (REISERFS_SUPER_MAGIC_STRING, super.s_magic) > 0)
> + && substring (REISERFS_SUPER_MAGIC_STRING, super.s_magic) > 0
> + && substring (REISER3FS_SUPER_MAGIC_STRING, super.s_magic) > 0)
> || (/* check that this is not a copy inside the journal log */
> super.s_journal_block * super.s_blocksize
> <= REISERFS_DISK_OFFSET_IN_BYTES))
> @@ -589,7 +591,8 @@
> return 0;
>
> if (substring (REISER2FS_SUPER_MAGIC_STRING, super.s_magic) > 0
> - && substring (REISERFS_SUPER_MAGIC_STRING, super.s_magic) > 0)
> + && substring (REISERFS_SUPER_MAGIC_STRING, super.s_magic) > 0
> + && substring (REISER3FS_SUPER_MAGIC_STRING, super.s_magic) > 0)
> {
> /* pre journaling super block ? */
> if (substring (REISERFS_SUPER_MAGIC_STRING,
> @@ -1206,7 +1209,8 @@
>
> *start_sector = 1; /* reserve first sector for stage1 */
> if ((substring (REISERFS_SUPER_MAGIC_STRING, super.s_magic) <= 0
> - || substring (REISER2FS_SUPER_MAGIC_STRING, super.s_magic) <= 0)
> + || substring (REISER2FS_SUPER_MAGIC_STRING, super.s_magic) <= 0
> + || substring (REISER3FS_SUPER_MAGIC_STRING, super.s_magic) <= 0)
> && (/* check that this is not a super block copy inside
> * the journal log */
> super.s_journal_block * super.s_blocksize
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Reiserfs with non-standard journal...,
Yoshinori K. Okuji <=