diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-09-05 11:24:15 +0200 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2017-09-17 23:10:48 -0500 |
commit | 1368f155a972eab037f81b5dea82afd544227552 (patch) | |
tree | 6105e5d1fb2fdaa4d188093f974f51a015c3a291 /fs/cifs/smb1ops.c | |
parent | 9764c02fcbad40001fd3f63558d918e4d519bb75 (diff) |
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/smb1ops.c')
0 files changed, 0 insertions, 0 deletions