vfs_acl_xattr: factor out fetching of an extended attribute
authorUri Simchoni <uri@samba.org>
Sat, 8 Apr 2017 21:40:44 +0000 (00:40 +0300)
committerKarolin Seeger <kseeger@samba.org>
Thu, 20 Apr 2017 10:23:18 +0000 (12:23 +0200)
commitec3929696cf3e35236cc7aaae1cb01068c26a4ad
treeb85e4d9c14647c5601537f7f53009938f44fae7b
parentfb375e38b98961af1cdad928f4d7b135b4ed4e9d
vfs_acl_xattr: factor out fetching of an extended attribute

Pure refactoring - add a function that fetches an extended attribute
based on either the file descriptor or the file name.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12737

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 7b775abd9278ae34110ec87d94a736be7f64884a)
source3/modules/vfs_acl_xattr.c