• Andreas Gruenbacher's avatar
    cifs: Switch to generic xattr handlers · a9ae008f
    Andreas Gruenbacher authored
    Use xattr handlers for resolving attribute names.  The amount of setup
    code required on cifs is nontrivial, so use the same get and set
    functions for all handlers, with switch statements for the different
    types of attributes in them.
    The set_EA handler can handle NULL values, so we don't need a separate
    removexattr function anymore.  Remove the cifs_dbg statements related to
    xattr name resolution; they don't add much.  Don't build xattr.o when
    CONFIG_CIFS_XATTR is not defined.
    Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>