NFSv4.2: Remove redundant checks in nfs_setsecurity+nfs4_label_init_security
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 4 Nov 2013 18:46:40 +0000 (13:46 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 4 Nov 2013 21:42:52 +0000 (16:42 -0500)
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: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found