aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs4.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-11-04 13:23:59 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-11-04 16:42:51 -0500
commitd204c5d2b8f7614350cd4609f4d4cdcf25494d74 (patch)
treebad66f4fac985065c1466a5186c629da41ae77cc /include/linux/nfs4.h
parentnfs: set security label when revalidating inode (diff)
downloadlinux-dev-d204c5d2b8f7614350cd4609f4d4cdcf25494d74.tar.xz
linux-dev-d204c5d2b8f7614350cd4609f4d4cdcf25494d74.zip
NFSv4.2: encode_readdir - only ask for labels when doing readdirplus
Currently, if the server is doing NFSv4.2 and supports labeled NFS, then our on-the-wire READDIR request ends up asking for the label information, which is then ignored unless we're doing readdirplus. This patch ensures that READDIR doesn't ask the server for label information at all unless the readdir->bitmask contains the FATTR4_WORD2_SECURITY_LABEL attribute, and the readdir->plus flag is set. While we're at it, optimise away the 3rd bitmap field if it is zero. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs4.h')
0 files changed, 0 insertions, 0 deletions