summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJames Simmons <jsimmons@infradead.org>2017-07-26 18:22:36 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-30 18:08:32 +0300
commit6e3ff3c2b3ca19d76c35e2e632528b422c6eace5 (patch)
tree5e0593cd60e0fa3e450b5f27fa11bbe301a0e2c3 /include
parenta49c8634a9b8e51fde5e11324425c4ad44a2dd6e (diff)
downloadlinux-6e3ff3c2b3ca19d76c35e2e632528b422c6eace5.tar.xz
staging: lustre: llite: set security xattr using __vfs_setxattr
Currently ll_initxattrs() initializes the security xattrs in a very non-standard using get_xattr_types() to get the struct handler that lustre created to then call indirectly the function to set the xattr. The available __vfs_setxattr() function does the same thing and also handles the case of when size is zero the xattr should be set to empty EA. Signed-off-by: James Simmons <uja.ornl@yahoo.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-9183 Reviewed-on: https://review.whamcloud.com/27240 Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: Bob Glossman <bob.glossman@intel.com> Reviewed-by: Sebastien Buisson <sbuisson@ddn.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions