Skip to content
Commit fab99ebe authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4.2: Remove redundant checks in nfs_setsecurity+nfs4_label_init_security



We already check for nfs_server_capable(inode, NFS_CAP_SECURITY_LABEL)
in nfs4_label_alloc()
We check the minor version in _nfs4_server_capabilities before setting
NFS_CAP_SECURITY_LABEL.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent b944dba3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment