X-Git-Url: https://git.stricted.de/?a=blobdiff_plain;f=fs%2Fnfs%2Fnfs4_fs.h;h=8309e98c44f90b8992eb6f2a284afbaf3f2d879d;hb=9b20614988199fb03580b335a28250922e902098;hp=9ce90135bf22d6abe0b364e13198e747534a7eb5;hpb=8c86899f62738b8a22ca3a5f060e269b92e5545a;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index 9ce90135bf22..8309e98c44f9 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h @@ -234,6 +234,10 @@ extern struct rpc_clnt *nfs4_proc_lookup_mountpoint(struct inode *, struct qstr extern int nfs4_proc_secinfo(struct inode *, const struct qstr *, struct nfs4_secinfo_flavors *); extern int nfs4_release_lockowner(struct nfs4_lock_state *); extern const struct xattr_handler *nfs4_xattr_handlers[]; +extern void nfs4_set_rw_stateid(nfs4_stateid *stateid, + const struct nfs_open_context *ctx, + const struct nfs_lock_context *l_ctx, + fmode_t fmode); #if defined(CONFIG_NFS_V4_1) static inline struct nfs4_session *nfs4_get_session(const struct nfs_server *server)