patch-pre2.0.13 linux/fs/smbfs/proc.c

Next file: linux/fs/smbfs/sock.c
Previous file: linux/fs/smbfs/mmap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.12/linux/fs/smbfs/proc.c linux/fs/smbfs/proc.c
@@ -5,6 +5,7 @@
  *
  */
 
+#include <linux/config.h>
 #include <linux/fs.h>
 #include <linux/smbno.h>
 #include <linux/smb_fs.h>
@@ -1603,6 +1604,7 @@
           { PROTOCOL_LANMAN1,"MICROSOFT NETWORKS 3.0"},
           { PROTOCOL_LANMAN1,"LANMAN1.0"},
 #endif
+#ifdef CONFIG_SMB_LONG
 #ifdef LANMAN2
           { PROTOCOL_LANMAN2,"LM1.2X002"},
 #endif
@@ -1610,6 +1612,7 @@
 	  { PROTOCOL_NT1,"NT LM 0.12"},
 	  { PROTOCOL_NT1,"NT LANMAN 1.0"},
 #endif
+#endif
           {-1, NULL} };
 	char dev[] = "A:";
 	int i, plength;
@@ -2026,20 +2029,3 @@
 }
 
 #endif /* DEBUG_SMB > 0 */
-
-/*
- * Overrides for Emacs so that we follow Linus's tabbing style.
- * Emacs will notice this stuff at the end of the file and automatically
- * adjust the settings for this buffer only.  This must remain at the end
- * of the file.
- * ---------------------------------------------------------------------------
- * Local variables:
- * c-indent-level: 8
- * c-brace-imaginary-offset: 0
- * c-brace-offset: -8
- * c-argdecl-indent: 8
- * c-label-offset: -8
- * c-continued-statement-offset: 8
- * c-continued-brace-offset: 0
- * End:
- */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this