diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-23 23:01:48 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-08-01 06:10:20 (GMT) |
commit | 3a5fba19b080b365d67866db38e32e6a4a2089e8 (patch) | |
tree | bbca7e67f502e1828ca9c897ecc883f879e7743e /include | |
parent | d6952123b53cc8b334df69bba2cd0063b0d88f68 (diff) | |
download | linux-3a5fba19b080b365d67866db38e32e6a4a2089e8.tar.xz |
switch posix_acl_from_mode() to umode_t
... seeing that this is what all callers pass to it anyway.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/posix_acl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/posix_acl.h b/include/linux/posix_acl.h index 529c32a..16ecfb4 100644 --- a/include/linux/posix_acl.h +++ b/include/linux/posix_acl.h @@ -75,7 +75,7 @@ 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_permission(struct inode *, const struct posix_acl *, int); -extern struct posix_acl *posix_acl_from_mode(mode_t, gfp_t); +extern struct posix_acl *posix_acl_from_mode(umode_t, gfp_t); extern int posix_acl_equiv_mode(const struct posix_acl *, umode_t *); extern int posix_acl_create(struct posix_acl **, gfp_t, umode_t *); extern int posix_acl_chmod(struct posix_acl **, gfp_t, mode_t); |