nfs: reject changes to resvport and sharecache during remount
authorScott Mayhew <smayhew@redhat.com>
Mon, 4 Aug 2014 21:37:27 +0000 (17:37 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 4 Aug 2014 21:41:52 +0000 (17:41 -0400)
Commit c8e47028 made it possible to change resvport/noresvport and
sharecache/nosharecache via a remount operation, neither of which should be
allowed.

Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Fixes: c8e47028 (nfs: Apply NFS_MOUNT_CMP_FLAGMASK to nfs_compare_remount_data)
Cc: stable@vger.kernel.org # 3.16+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/super.c

diff --cc fs/nfs/super.c
Simple merge