diff options
| author | Trond Myklebust <[email protected]> | 2013-11-04 20:20:20 +0000 |
|---|---|---|
| committer | Trond Myklebust <[email protected]> | 2013-11-04 21:42:52 +0000 |
| commit | b944dba31d2c23f1cf5d69a66cc3449e0ba78503 (patch) | |
| tree | 2bc3088ef16b005d3b0760c87e81f6f1e1e56c0b /fs/nfs/inode.c | |
| parent | NFSv4.2: encode_readdir - only ask for labels when doing readdirplus (diff) | |
| download | kernel-b944dba31d2c23f1cf5d69a66cc3449e0ba78503.tar.gz kernel-b944dba31d2c23f1cf5d69a66cc3449e0ba78503.zip | |
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 <[email protected]>
Diffstat (limited to 'fs/nfs/inode.c')
0 files changed, 0 insertions, 0 deletions
