]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
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)
commitfab99ebe39fe7d11fbd9b5fb84f07432af9ba36f
tree3e99cedfdeb6d582b4fd66a143994d2a86678516
parentb944dba31d2c23f1cf5d69a66cc3449e0ba78503
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: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c
fs/nfs/nfs4proc.c