lkml.org 
[lkml]   [2007]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 16/24] nfs: check mnt instead of superblock directly
    On Mon, Sep 17, 2007 at 11:27:39AM -0700, Dave Hansen wrote:
    >
    > If we depend on the inodes for writeability, we will not
    > catch the r/o mounts when implemented.
    >
    > This patches uses __mnt_want_write(). It does not guarantee
    > that the mount will stay writeable after the check. But,
    > this is OK for one of the checks because it is just for a
    > printk().
    >
    > The other two are probably unnecessary and duplicate existing
    > checks in the VFS. This won't make them better checks than
    > before, but it will make them detect r/o mounts.

    Ok from me, but can please get a nfs person to look over this
    aswell?

    -
    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: 2007-09-19 19:41    [W:0.022 / U:1.508 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site