• james toy's avatar
    · 9b314751
    james toy authored
    This is a multi-part message in MIME format.
    --------------010200050204000200080203
    Content-Type: text/plain; charset=ISO-8859-1; format=flowed
    Content-Transfer-Encoding: 7bit
    
    Laurent Riffard wrote:
    > Hi Edward,
    >
    
    Hello Laurent.
    
    > This patch is buggy, isn't it ?
    >
    
    Yes, sorry, my fault..
    I have sent the fixup already to the list yesterday..
    Resending for you and Akpm.
    Andrew, please apply.
    
    Thanks.
    Edward.
    
    > I've got 2 reiser4 FS in my /etc/fstab:
    >
    > /dev/vglinux1/lvkernel-r4 /home/laurent/kernel reiser4 defaults,noatime,nodiratime,tmgr.atom_max_size=2048 0 0
    > /dev/disk/by-uuid/b8dbe880-b664-49aa-8050-bddc91fd5e49 /mnt/diske reiser4 noauto,users,noatime,nodiratime 0 0
    >
    > The first FS can't be mounted:
    >
    > [  235.078342] reiser4[mount(4205)]: parse_options (fs/reiser4/init_super.c:253)[nikita-2307]:
    > [  235.078345] WARNING: Unrecognized option: "tmgr.atom_max_size=2048"
    >
    
    --------------010200050204000200080203
    Content-Type: text/plain;
     name="reiser4-reduce-frame-size-fix.patch"
    Content-Transfer-Encoding: 7bit
    Content-Disposition: inline;
     filename="reiser4-reduce-frame-size-fix.patch"
    
    . Fix up the bug in reiser4_init_super_data():
      The pointer "p" to opt_desc structure is not
      incremented.
      Pass "&p" instead of "p" to push_sb_field_opts(),
      which is supposed to increment the pointer.
    . Modify macros PUSH_OPT, OPT_ARRAY_CHECK to accept
      arguments.
    
    Signed-off-by Edward Shsihkin <edward.shishkin@gmail.com>
    9b314751
init_super.c 19.1 KB