diff options
Diffstat (limited to 'include/linux/posix_acl.h')
| -rw-r--r-- | include/linux/posix_acl.h | 8 | 
1 files changed, 3 insertions, 5 deletions
| diff --git a/include/linux/posix_acl.h b/include/linux/posix_acl.h index 5b5a80cc5926..d5d3d741f028 100644 --- a/include/linux/posix_acl.h +++ b/include/linux/posix_acl.h @@ -43,10 +43,8 @@ struct posix_acl_entry {  };  struct posix_acl { -	union { -		atomic_t		a_refcount; -		struct rcu_head		a_rcu; -	}; +	atomic_t		a_refcount; +	struct rcu_head		a_rcu;  	unsigned int		a_count;  	struct posix_acl_entry	a_entries[0];  }; @@ -81,7 +79,7 @@ posix_acl_release(struct posix_acl *acl)  extern void posix_acl_init(struct posix_acl *, int);  extern struct posix_acl *posix_acl_alloc(int, gfp_t); -extern int posix_acl_valid(const struct posix_acl *); +extern int posix_acl_valid(struct user_namespace *, const struct posix_acl *);  extern int posix_acl_permission(struct inode *, const struct posix_acl *, int);  extern struct posix_acl *posix_acl_from_mode(umode_t, gfp_t);  extern int posix_acl_equiv_mode(const struct posix_acl *, umode_t *); |