aboutsummaryrefslogtreecommitdiff
path: root/fs/nfsd
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2008-06-10 15:38:39 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-07-09 12:09:09 -0400
commit48b605f83c920d8daa50e43fc2c7f718e04c7bfa (patch)
tree745de009daf7e4efe7105d2501276c83de31466d /fs/nfsd
parentc2d946e55e1be20a7443918e3b7497b905e6b3f7 (diff)
NFS: implement option checking when remounting NFS filesystems (resend)
When remounting an NFS or NFS4 filesystem, the new NFS options are not respected, yet the remount will still return success. This patch adds a remount_fs sb op for NFS that checks any new nfs mount options against the existing ones and fails the mount if any have changed. This is only implemented for string-based mount options since doing this with binary options isn't really feasible. This is essentially the same as the original patch I sent out, but adds a check to see if the addr= option has changed. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfsd')
0 files changed, 0 insertions, 0 deletions