nfsd: make deny mode enforcement more efficient and close races in it
[cascardo/linux.git] / fs / nfsd / state.h
index 72aee4b..015b972 100644 (file)
@@ -391,6 +391,7 @@ struct nfs4_file {
         *   + 1 to both of the above if NFS4_SHARE_ACCESS_BOTH is set.
         */
        atomic_t                fi_access[2];
+       u32                     fi_share_deny;
        struct file             *fi_deleg_file;
        struct file_lock        *fi_lease;
        atomic_t                fi_delegees;