mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* ntfs trivial patch
@ 2000-12-16 21:16 Stanislav Meduna
  0 siblings, 0 replies; only message in thread
From: Stanislav Meduna @ 2000-12-16 21:16 UTC (permalink / raw)
  To: linux-kernel; +Cc: torvalds, aia21

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.

diff -uN fs/ntfs/fs.c.orig fs/ntfs/fs.c
--- fs/ntfs/fs.c.orig   Sat Dec 16 16:12:26 2000
+++ fs/ntfs/fs.c        Sat Dec 16 22:02:56 2000
@@ -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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-12-16 21:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-16 21:16 ntfs trivial patch Stanislav Meduna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®