f2fs: xattr simplifications
authorAndreas Gruenbacher <[email protected]>
Sun, 4 Oct 2015 17:18:54 +0000 (19:18 +0200)
committerAl Viro <[email protected]>
Sat, 14 Nov 2015 01:34:34 +0000 (20:34 -0500)
commit29608d208b3619b3b508a6871622db789611d8a3
tree9946616172bede00be59be3584677214e60f1adf
parent0ddaf72c1da8b84bc2896e1997ef3f1a22765194
f2fs: xattr simplifications

Now that the xattr handler is passed to the xattr handler operations, we
have access to the attribute name prefix, so simplify
f2fs_xattr_generic_list.

Also, f2fs_xattr_advise_list is only ever called for
f2fs_xattr_advise_handler; there is no need to double check for that.

Signed-off-by: Andreas Gruenbacher <[email protected]>
Cc: Jaegeuk Kim <[email protected]>
Cc: Changman Lee <[email protected]>
Cc: Chao Yu <[email protected]>
Cc: [email protected]
Signed-off-by: Al Viro <[email protected]>
fs/f2fs/xattr.c