NFS: remount with security change should return EINVAL
authorBenjamin Coddington <bcodding@redhat.com>
Sat, 6 Dec 2014 02:52:49 +0000 (21:52 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 12 Mar 2015 15:53:32 +0000 (11:53 -0400)
A remount that alters security flavors can appear to succeed when it should
instead return -EINVAL.  Check to see if the current security flavor exists
within the flavors specified in the remount options, and if not fail the
remount.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/super.c

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