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)
commit09a330f4b9324e40947cc4fff13606719382c580
treec38c506e9678e89bc229e17146b1fd873ce15ea9
parentdf137bc125b6155e54e6725faf0462b791a34c31
NFS: remount with security change should return EINVAL

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
This page took 0.025549 seconds and 5 git commands to generate.