OSDN Git Service

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)
commit1e1f9ff406fd5f6003a5dab2ab5a26c4c5bb8cbd
tree5d3fa48ec2b4b385faa37fcb61f527f6edb9a51d
parent1beba52d46f039a24f31cf5717c239c89a9d4e6f
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