Re: [PATCH 16/24] nfs: check mnt instead of superblock directly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux