Silence two "defined but unused" warning
PATCH 1/1 Silence two "defined but unused" warning
Signed-off-by Stephen Rothwell <[email protected]>
--- fs/cifs/cifssmb.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]
fs/cifs/cifssmb.c +2 -0
@@ -2486,6 +2486,7 @@ querySymLinkRetry:return rc; } +#ifdef CONFIG_CIFS_EXPERIMENTAL /* Initialize NT TRANSACT SMB into small smb request buffer. This assumes that all NT TRANSACTS that we init here have total parm and data under about 400 bytes (to fit in small cifs
@@ -2569,6 +2570,7 @@ validate_ntransact(char *buf, char **ppparm, char **ppdata, }return 0 ; } +#endif /* CONFIG_CIFS_EXPERIMENTAL */ int CIFSSMBQueryReparseLinkInfo(const int xid, struct cifsTconInfo *tcon,
Signature · 1 line
1.5.3.4
This should already be in the cifs-2.6.git tree and next -mm (I am waiting on the finish up of some CIFS ACL mapping code before requesting another cifs merge with mainline)
Quoted 34 lines · Stephen Rothwell
Signed-off-by Stephen Rothwell <[email protected]>--- fs/cifs/cifssmb.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)--
Cheers,
Stephen Rothwell [email protected]fs/cifs/cifssmb.c +2
-1@@ -2486,6 +2486,7 @@ querySymLinkRetry:return rc; } +#ifdef CONFIG_CIFS_EXPERIMENTAL /* Initialize NT TRANSACT SMB into small smb request buffer. This assumes that all NT TRANSACTS that we init here have total parm and data under about 400 bytes (to fit in small cifs @@ -2569,6 +2570,7 @@ validate_ntransact(char *buf, char **ppparm, char **ppdata, }return 0 ; } +#endif /* CONFIG_CIFS_EXPERIMENTAL */ int CIFSSMBQueryReparseLinkInfo(const int xid, struct cifsTconInfo *tcon, --1.5.3.4
Signature · 3 lines
Thanks, Steve