From: Trond Myklebust Date: Mon, 4 Nov 2013 20:20:20 +0000 (-0500) Subject: NFSv4: Sanity check the server reply in _nfs4_server_capabilities X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~60^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b944dba31d2c23f1cf5d69a66cc3449e0ba78503;p=pandora-kernel.git NFSv4: Sanity check the server reply in _nfs4_server_capabilities We don't want to be setting capabilities and/or requesting attributes that are not appropriate for the NFSv4 minor version. - Ensure that we clear the NFS_CAP_SECURITY_LABEL capability when appropriate - Ensure that we limit the attribute bitmasks to the mounted_on_fileid attribute and less for NFSv4.0 - Ensure that we limit the attribute bitmasks to suppattr_exclcreat and less for NFSv4.1 - Ensure that we limit it to change_sec_label or less for NFSv4.2 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed