]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: llite: break ll_getxattr_common into 2 functions
authorJames Simmons <jsimmons@infradead.org>
Mon, 20 Jun 2016 22:47:50 +0000 (18:47 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Aug 2016 16:23:55 +0000 (18:23 +0200)
commit27f0e76fbf307e3abce42eb8d0d2b298746e3062
tree5d3fa48ec2b4b385faa37fcb61f527f6edb9a51d
parent4054b1a64155b1bf89837e0ec5646aae9b46bfa0
staging: lustre: llite: break ll_getxattr_common into 2 functions

Split the function ll_getxattr_common into two functions.
The code used for listing xattrs and ll_getxattr_common is
placed into a new function ll_getxattr_list. This allows
ll_listxattr to call directly ll_getxattr_list instead of
going through ll_getxattr_common. This change is needed
for the upcoming VFS move xattr_handler from [s|g]etxattr.

Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/xattr.c