NFS: Error when mounting the same filesystem with different options
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 16 May 2007 20:53:28 +0000 (16:53 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Jul 2007 03:40:48 +0000 (23:40 -0400)
commit275a5d24bf56b2d9dd4644c54a56366b89a028f1
tree2c429fc9480ef292b8cfdc81be05f3ff2b2c02a5
parent75180df2ed467866ada839fe73cf7cc7d75c0a22
NFS: Error when mounting the same filesystem with different options

Unless the user sets the NFS_MOUNT_NOSHAREDCACHE mount flag, we should
return EBUSY if the filesystem is already mounted on a superblock that
has set conflicting mount options.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/super.c