diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-05-20 18:24:03 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-06-06 22:24:37 +0200 |
commit | 4f0b429df104c8ab41fa1b3013e13e0f95f3da52 (patch) | |
tree | 52da695dd1c1e334ebb6c84ae880412507ee09c4 /fs/nfs/pnfs.c | |
parent | NFSv4.1: Use layout credentials for get_deviceinfo calls (diff) | |
download | linux-4f0b429df104c8ab41fa1b3013e13e0f95f3da52.tar.xz linux-4f0b429df104c8ab41fa1b3013e13e0f95f3da52.zip |
NFSv4.1: Enable state protection
Use the EXCHGID4_FLAG_BIND_PRINC_STATEID exchange_id flag to enable
stateid protection. This means that if we create a stateid using a
particular principal, then we must use the same principal if we
want to change that state.
IOW: if we OPEN a file using a particular credential, then we have
to use the same credential in subsequent OPEN_DOWNGRADE, CLOSE,
or DELEGRETURN operations that use that stateid.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/pnfs.c')
0 files changed, 0 insertions, 0 deletions