Skip to contentSkip to conversation

ntfs trivial patch

PATCH Stanislav Meduna 1 participant 1 message Dec 16, 2000

lore
Share & tools
lore
#0 lore raw

Hello,

it is impossible to load a ntfs module in 2.4.0-test{11,12} - the symbol ntdebug is not defined. The symbol is only defined when building with DEBUG, but it is always declared as module parameter. Following trivial patch fixes it.

Sorry if this was already posted - I don't read the whole l-k, grep for ntfs|ntdebug in subjects returned nothing and http://www.atnf.csiro.au/~rgooch/linux/docs/kernel-newsflash.html
seems to be a bit behind the actual kernels.

ntfs/fs.c Sat Dec 16 22:02:56 2000 renamed from ntfs/fs.c.orig Sat Dec 16 16:12:26 2000 +2 -0
diff -uN fs/ntfs/fs.c.orig fs/ntfs/fs.c
@@ -963,8 +963,10 @@
 EXPORT_NO_SYMBOLS;
 MODULE_AUTHOR("Martin von Löwis");
 MODULE_DESCRIPTION("NTFS driver");
+#ifdef DEBUG
 MODULE_PARM(ntdebug, "i");
 MODULE_PARM_DESC(ntdebug, "Debug level");
+#endif
 
 module_init(init_ntfs_fs)
 module_exit(exit_ntfs_fs)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/