diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-01-26 15:42:30 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-01-26 15:42:30 -0500 |
commit | 8e469ebd6dc32cbaf620e134d79f740bf0ebab79 (patch) | |
tree | a83e806a7cfa0a57ba6e55aef6da027aa2f08fee /fs/nfs/nfs4_fs.h | |
parent | 2bee72a6aa1e6d0a4f5da56217f0d0bbbdd0d9a3 (diff) | |
download | kernel_samsung_tuna-8e469ebd6dc32cbaf620e134d79f740bf0ebab79.zip kernel_samsung_tuna-8e469ebd6dc32cbaf620e134d79f740bf0ebab79.tar.gz kernel_samsung_tuna-8e469ebd6dc32cbaf620e134d79f740bf0ebab79.tar.bz2 |
NFSv4: Don't allow posix locking against servers that don't support it
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r-- | fs/nfs/nfs4_fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index 865265b..ea2f41b 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h @@ -146,6 +146,7 @@ enum { NFS_O_RDWR_STATE, /* OPEN stateid has read/write state */ NFS_STATE_RECLAIM_REBOOT, /* OPEN stateid server rebooted */ NFS_STATE_RECLAIM_NOGRACE, /* OPEN stateid needs to recover state */ + NFS_STATE_POSIX_LOCKS, /* Posix locks are supported */ }; struct nfs4_state { |