NFSv4: Allow security autonegotiation for submounts
In cases where the parent super block was not mounted with a 'sec=' line, allow autonegotiation of security for the submounts. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
41d058c3ba
commit
47040da3c7
2 changed files with 19 additions and 5 deletions
|
@ -1078,7 +1078,8 @@ struct nfs_server *nfs4_create_referral_server(struct nfs_clone_mount *data,
|
|||
if (error < 0)
|
||||
goto error;
|
||||
|
||||
error = nfs4_server_common_setup(server, mntfh, false);
|
||||
error = nfs4_server_common_setup(server, mntfh,
|
||||
!(parent_server->flags & NFS_MOUNT_SECFLAVOUR));
|
||||
if (error < 0)
|
||||
goto error;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue