mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 17:24:17 +08:00
a9ae008f40
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>
22 lines
665 B
Makefile
22 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
|