]> git.baikalelectronics.ru Git - kernel.git/commit
posix_acl: Add set_posix_acl
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 22 Jun 2016 21:57:25 +0000 (23:57 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 24 Jun 2016 16:11:34 +0000 (12:11 -0400)
commit3e5b32350c04e16d57ee7275af47cdb054e30d35
treed5587256360eb42e819d5760e6e6db8250ccfa80
parented578611e3956da746a42ba898a0a80eb6f61d0d
posix_acl: Add set_posix_acl

Factor out part of posix_acl_xattr_set into a common function that takes
a posix_acl, which nfsd can also call.

The prototype already exists in include/linux/posix_acl.h.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Cc: stable@vger.kernel.org
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/posix_acl.c