[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071029135558.f80876d8.sfr@canb.auug.org.au>
Date: Mon, 29 Oct 2007 13:55:58 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Steve French <sfrench@...ba.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
linux-cifs-client@...ts.samba.org
Subject: [PATCH] [CIFS] Silence two "defined but unused" warning
Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
---
fs/cifs/cifssmb.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index f0d9a48..aa9dc9e 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists