lkml.org 
[lkml]   [2002]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] struct super_block cleanup - msdos/vfat
    From
    Date
    Brian Gerst <bgerst@didntduck.org> writes:

    > Patch attached.
    >
    > --
    >
    > Brian Gerst

    Thanks a lot!

    > diff -urN linux/fs/msdos/namei.c linux2/fs/msdos/namei.c
    > --- linux/fs/msdos/namei.c Thu Mar 14 10:53:20 2002
    > +++ linux2/fs/msdos/namei.c Thu Mar 14 10:54:53 2002
    > @@ -607,7 +607,7 @@
    >
    > res = fat_fill_super(sb, data, silent, &msdos_dir_inode_operations, 0);
    > if (res) {
    > - if (!silent)
    > + if (res == -EINVAL && !silent)
    > printk(KERN_INFO "VFS: Can't find a valid"
    > " MSDOS filesystem on dev %s.\n", sb->s_id);
    > return res;
    > diff -urN linux/fs/vfat/namei.c linux2/fs/vfat/namei.c
    > --- linux/fs/vfat/namei.c Thu Mar 14 10:53:20 2002
    > +++ linux2/fs/vfat/namei.c Thu Mar 14 10:55:20 2002
    > @@ -1290,7 +1290,7 @@
    >
    > res = fat_fill_super(sb, data, silent, &vfat_dir_inode_operations, 1);
    > if (res) {
    > - if (!silent)
    > + if (res == -EINVAL && !silent)
    > printk(KERN_INFO "VFS: Can't find a valid"
    > " VFAT filesystem on dev %s.\n", sb->s_id);
    > return res;

    --
    OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:25    [W:0.023 / U:30.992 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site