[lkml]   [2007]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-09-19 19:41    [W:0.278 / U:12.040 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site