aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/acl.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-23 02:28:13 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-03 11:40:19 -0700
commit7c0e1afbe36ec6d067638daafe6e7ee30085202b (patch)
tree2763e3357142b1d936d75bd577922ac200838ac9 /fs/9p/acl.h
parent8aeae69113b438efadd5b9dda754e60685d8d6c1 (diff)
downloadkernel_samsung_espresso10-7c0e1afbe36ec6d067638daafe6e7ee30085202b.zip
kernel_samsung_espresso10-7c0e1afbe36ec6d067638daafe6e7ee30085202b.tar.gz
kernel_samsung_espresso10-7c0e1afbe36ec6d067638daafe6e7ee30085202b.tar.bz2
9p: close ACL leaks
commit 1ec95bf34d976b38897d1977b155a544d77b05e7 upstream. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/9p/acl.h')
-rw-r--r--fs/9p/acl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/9p/acl.h b/fs/9p/acl.h
index 7ef3ac9..c47ea9c 100644
--- a/fs/9p/acl.h
+++ b/fs/9p/acl.h
@@ -19,7 +19,7 @@ extern int v9fs_get_acl(struct inode *, struct p9_fid *);
extern int v9fs_check_acl(struct inode *inode, int mask, unsigned int flags);
extern int v9fs_acl_chmod(struct dentry *);
extern int v9fs_set_create_acl(struct dentry *,
- struct posix_acl *, struct posix_acl *);
+ struct posix_acl **, struct posix_acl **);
extern int v9fs_acl_mode(struct inode *dir, mode_t *modep,
struct posix_acl **dpacl, struct posix_acl **pacl);
#else
@@ -33,8 +33,8 @@ static inline int v9fs_acl_chmod(struct dentry *dentry)
return 0;
}
static inline int v9fs_set_create_acl(struct dentry *dentry,
- struct posix_acl *dpacl,
- struct posix_acl *pacl)
+ struct posix_acl **dpacl,
+ struct posix_acl **pacl)
{
return 0;
}