]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
posix_acl: Add set_posix_acl
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 22 Jun 2016 21:57:25 +0000 (23:57 +0200)
committerSasha Levin <alexander.levin@verizon.com>
Mon, 22 Aug 2016 16:23:30 +0000 (12:23 -0400)
commit6abbd53f83fe94fb2562b3a45ef7770e4dfcde29
tree1171c5034f5bfedc58e808eb5fcfd731404d5a28
parent4f143eb491cb0efa06c44d45db821b89a2cef48a
posix_acl: Add set_posix_acl

[ 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>
fs/posix_acl.c