diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-24 01:01:48 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-08-01 08:10:20 +0200 |
commit | 3a5fba19b080b365d67866db38e32e6a4a2089e8 (patch) | |
tree | bbca7e67f502e1828ca9c897ecc883f879e7743e /fs/posix_acl.c | |
parent | switch posix_acl_equiv_mode() to umode_t * (diff) | |
download | linux-3a5fba19b080b365d67866db38e32e6a4a2089e8.tar.xz linux-3a5fba19b080b365d67866db38e32e6a4a2089e8.zip |
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 'fs/posix_acl.c')
-rw-r--r-- | fs/posix_acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/posix_acl.c b/fs/posix_acl.c index 3d943be6761c..4e16e8001982 100644 --- a/fs/posix_acl.c +++ b/fs/posix_acl.c @@ -188,7 +188,7 @@ posix_acl_equiv_mode(const struct posix_acl *acl, umode_t *mode_p) * Create an ACL representing the file mode permission bits of an inode. */ struct posix_acl * -posix_acl_from_mode(mode_t mode, gfp_t flags) +posix_acl_from_mode(umode_t mode, gfp_t flags) { struct posix_acl *acl = posix_acl_alloc(3, flags); if (!acl) |