mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Andreas Gruenbacher](/assets/img/avatar_default.png)
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: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
21 lines
665 B
Makefile
21 lines
665 B
Makefile
#
|
|
# Makefile for Linux CIFS VFS client
|
|
#
|
|
obj-$(CONFIG_CIFS) += cifs.o
|
|
|
|
cifs-y := cifsfs.o cifssmb.o cifs_debug.o connect.o dir.o file.o inode.o \
|
|
link.o misc.o netmisc.o smbencrypt.o transport.o asn1.o \
|
|
cifs_unicode.o nterr.o cifsencrypt.o \
|
|
readdir.o ioctl.o sess.o export.o smb1ops.o winucase.o
|
|
|
|
cifs-$(CONFIG_CIFS_XATTR) += xattr.o
|
|
cifs-$(CONFIG_CIFS_ACL) += cifsacl.o
|
|
|
|
cifs-$(CONFIG_CIFS_UPCALL) += cifs_spnego.o
|
|
|
|
cifs-$(CONFIG_CIFS_DFS_UPCALL) += dns_resolve.o cifs_dfs_ref.o
|
|
|
|
cifs-$(CONFIG_CIFS_FSCACHE) += fscache.o cache.o
|
|
|
|
cifs-$(CONFIG_CIFS_SMB2) += smb2ops.o smb2maperror.o smb2transport.o \
|
|
smb2misc.o smb2pdu.o smb2inode.o smb2file.o
|