[PATCH 1/2] NFS: implement option checking when remounting NFS filesystems (try #2)

Jeff Layton jlayton at redhat.com
Sun Apr 20 15:03:17 EDT 2008


On Sun, 20 Apr 2008 12:56:11 -0400
Trond Myklebust <trond.myklebust at fys.uio.no> wrote:

> It might be nice also to signal when someone tries to convert a udp
> mount into a tcp mount, or change the server address...
> You don't need to do that in the same patch, but it is a common mistake
> that even experienced admins make.
> 

The original patch should make the mount call return -EINVAL if someone
tries to change from tcp to udp, or vice versa since that would change
the flags.

The original patch didn't catch changes to "addr=", but the one I just
sent out should do so.

Thanks,
-- 
Jeff Layton <jlayton at redhat.com>


More information about the NFSv4 mailing list