]> www.infradead.org Git - users/jedix/linux-maple.git/commit
posix_acl: Add set_posix_acl
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 22 Jun 2016 21:57:25 +0000 (23:57 +0200)
committerDhaval Giani <dhaval.giani@oracle.com>
Fri, 20 Jan 2017 22:22:09 +0000 (17:22 -0500)
commit6f112cf546e697d7b0546eabd0605bcccfb80542
treeb917fac95dc91a949df74925aa096bf49522db16
parent7b633d6a69f7c7b79779284a266a13c3f4533f91
posix_acl: Add set_posix_acl

Orabug: 25308144

[ Upstream commit 485e71e8fb6356c08c7fc6bcce4bf02c9a9a663f ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
(cherry picked from commit 173f43c05f782df4fe42cc1152f9306ef76dc6eb)
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
fs/posix_acl.c