mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
kill boilerplate around posix_acl_chmod_masq()
new helper: posix_acl_chmod(&acl, gfp, mode). Replaces acl with modified clone or with NULL if that has failed; returns 0 or -ve on error. All callers of posix_acl_chmod_masq() switched to that - they'd been doing exactly the same thing. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
4482a087d4
commit
bc26ab5f65
14 changed files with 139 additions and 168 deletions
13
fs/9p/acl.c
13
fs/9p/acl.c
31
fs/jfs/acl.c
31
fs/jfs/acl.c
Loading…
Add table
Add a link
Reference in a new issue