NFS: Don't drop CB requests with invalid principals
[firefly-linux-kernel-4.4.55.git] / fs / nfsd / state.h
index 77fdf4de91baa102dbefd2f15c5314be40aff162..77860b75da9d6cc1139dbc2b8320283a16080708 100644 (file)
@@ -535,7 +535,7 @@ struct nfs4_ol_stateid {
        unsigned char                   st_access_bmap;
        unsigned char                   st_deny_bmap;
        struct nfs4_ol_stateid          *st_openstp;
-       struct rw_semaphore             st_rwsem;
+       struct mutex                    st_mutex;
 };
 
 static inline struct nfs4_ol_stateid *openlockstateid(struct nfs4_stid *s)