summaryrefslogtreecommitdiffstats
path: root/fs/cifs/asn1.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-09-05 11:24:15 +0200
committerSteve French <smfrench@gmail.com>2017-09-17 23:10:48 -0500
commit1368f155a972eab037f81b5dea82afd544227552 (patch)
tree6105e5d1fb2fdaa4d188093f974f51a015c3a291 /fs/cifs/asn1.c
parent9764c02fcbad40001fd3f63558d918e4d519bb75 (diff)
downloadlinux-1368f155a972eab037f81b5dea82afd544227552.tar.gz
linux-1368f155a972eab037f81b5dea82afd544227552.tar.bz2
linux-1368f155a972eab037f81b5dea82afd544227552.zip
cifs: hide unused functions
The newly added SMB2+ attribute support causes unused function warnings when CONFIG_CIFS_XATTR is disabled: fs/cifs/smb2ops.c:563:1: error: 'smb2_set_ea' defined but not used [-Werror=unused-function] smb2_set_ea(const unsigned int xid, struct cifs_tcon *tcon, fs/cifs/smb2ops.c:513:1: error: 'smb2_query_eas' defined but not used [-Werror=unused-function] smb2_query_eas(const unsigned int xid, struct cifs_tcon *tcon, This adds another #ifdef around the affected functions. Fixes: 5517554e4313 ("cifs: Add support for writing attributes on SMB2+") Fixes: 95907fea4fd8 ("cifs: Add support for reading attributes on SMB2+") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/asn1.c')
0 files changed, 0 insertions, 0 deletions