NFSv4: Don't allow posix locking against servers that don't support it
[linux-2.6-block.git] / fs / nfs / nfs4_fs.h
index 865265bdca03acc9f1e106593304a6daf99ef0bd..ea2f41b26aea3d5a0cef2954ca1c382431d87157 100644 (file)
@@ -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 {