diff options
| author | Greg Kroah-Hartman <[email protected]> | 2022-01-30 15:00:39 +0100 | 
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-01-30 15:00:39 +0100 | 
| commit | 7ab004dbcbee38b8a70798835d3ffcd97a985a5e (patch) | |
| tree | 0caa6cb97801736046823ca785a5ba36bf684ac6 /include/linux/nfs_fs.h | |
| parent | 710f8af199ee9d72dd87083edd55c5ee250ee6f4 (diff) | |
| parent | 26291c54e111ff6ba87a164d85d4a4e134b7315c (diff) | |
Merge tag 'v5.17-rc2' into char-misc-next
We need the char/misc fixes in here as well.
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/nfs_fs.h')
| -rw-r--r-- | include/linux/nfs_fs.h | 10 | 
1 files changed, 6 insertions, 4 deletions
| diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 00835bacd236..02aa49323d1d 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h @@ -61,7 +61,9 @@  struct nfs_access_entry {  	struct rb_node		rb_node;  	struct list_head	lru; -	const struct cred *	cred; +	kuid_t			fsuid; +	kgid_t			fsgid; +	struct group_info	*group_info;  	__u32			mask;  	struct rcu_head		rcu_head;  }; @@ -395,7 +397,7 @@ extern int nfs_post_op_update_inode_force_wcc(struct inode *inode, struct nfs_fa  extern int nfs_post_op_update_inode_force_wcc_locked(struct inode *inode, struct nfs_fattr *fattr);  extern int nfs_getattr(struct user_namespace *, const struct path *,  		       struct kstat *, u32, unsigned int); -extern void nfs_access_add_cache(struct inode *, struct nfs_access_entry *); +extern void nfs_access_add_cache(struct inode *, struct nfs_access_entry *, const struct cred *);  extern void nfs_access_set_mask(struct nfs_access_entry *, u32);  extern int nfs_permission(struct user_namespace *, struct inode *, int);  extern int nfs_open(struct inode *, struct file *); @@ -532,8 +534,8 @@ extern int nfs_instantiate(struct dentry *dentry, struct nfs_fh *fh,  			struct nfs_fattr *fattr);  extern int nfs_may_open(struct inode *inode, const struct cred *cred, int openflags);  extern void nfs_access_zap_cache(struct inode *inode); -extern int nfs_access_get_cached(struct inode *inode, const struct cred *cred, struct nfs_access_entry *res, -				 bool may_block); +extern int nfs_access_get_cached(struct inode *inode, const struct cred *cred, +				 u32 *mask, bool may_block);  /*   * linux/fs/nfs/symlink.c |