• Andreas Gruenbacher's avatar
    f2fs: xattr simplifications · 29608d20
    Andreas Gruenbacher authored
    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: default avatarAndreas Gruenbacher <agruenba@redhat.com>
    Cc: Jaegeuk Kim <jaegeuk@kernel.org>
    Cc: Changman Lee <cm224.lee@samsung.com>
    Cc: Chao Yu <chao2.yu@samsung.com>
    Cc: linux-f2fs-devel@lists.sourceforge.net
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    29608d20
xattr.c 14.8 KB