* [PATCH] add missing MODULE_LICENSE tags in fs/
@ 2002-05-02 9:31 tomas szepe
0 siblings, 0 replies; only message in thread
From: tomas szepe @ 2002-05-02 9:31 UTC (permalink / raw)
To: lkml; +Cc: torvalds
Hi,
just noticed that loading exportfs.o (needed by nfsd.o) tainted my 2.5.12
kernel on account of a missing MODULE_LICENSE tag. When I was at it, I did
a bit of grepping through fs/ and fixed up a couple other affected modules
too.
The patch is against -dj1, but applies to vanilla 2.5.12 as well
(w/ minor offset on fs/exportfs/expfs.c).
Files modified:
fs/binfmt_elf.c
fs/binfmt_em86.c
fs/binfmt_script.c
fs/driverfs/inode.c
fs/exportfs/expfs.c
fs/hpfs/super.c
-Tomas
diff -urN linux-2.5.12-dj1/fs/binfmt_elf.c linux-2.5.12-dj1.n/fs/binfmt_elf.c
--- linux-2.5.12-dj1/fs/binfmt_elf.c Mon Apr 15 16:14:48 2002
+++ linux-2.5.12-dj1.n/fs/binfmt_elf.c Thu May 2 10:43:55 2002
@@ -1279,3 +1279,4 @@
module_init(init_elf_binfmt)
module_exit(exit_elf_binfmt)
+MODULE_LICENSE("GPL");
diff -urN linux-2.5.12-dj1/fs/binfmt_em86.c linux-2.5.12-dj1.n/fs/binfmt_em86.c
--- linux-2.5.12-dj1/fs/binfmt_em86.c Mon Apr 15 16:14:48 2002
+++ linux-2.5.12-dj1.n/fs/binfmt_em86.c Thu May 2 10:44:04 2002
@@ -111,3 +111,4 @@
module_init(init_em86_binfmt)
module_exit(exit_em86_binfmt)
+MODULE_LICENSE("GPL");
diff -urN linux-2.5.12-dj1/fs/binfmt_script.c linux-2.5.12-dj1.n/fs/binfmt_script.c
--- linux-2.5.12-dj1/fs/binfmt_script.c Mon Apr 15 16:14:48 2002
+++ linux-2.5.12-dj1.n/fs/binfmt_script.c Thu May 2 10:45:34 2002
@@ -111,3 +111,4 @@
module_init(init_script_binfmt)
module_exit(exit_script_binfmt)
+MODULE_LICENSE("GPL");
diff -urN linux-2.5.12-dj1/fs/driverfs/inode.c linux-2.5.12-dj1.n/fs/driverfs/inode.c
--- linux-2.5.12-dj1/fs/driverfs/inode.c Thu May 2 10:56:55 2002
+++ linux-2.5.12-dj1.n/fs/driverfs/inode.c Thu May 2 10:52:46 2002
@@ -646,3 +646,4 @@
EXPORT_SYMBOL(driverfs_create_dir);
EXPORT_SYMBOL(driverfs_remove_file);
EXPORT_SYMBOL(driverfs_remove_dir);
+MODULE_LICENSE("GPL");
diff -urN linux-2.5.12-dj1/fs/exportfs/expfs.c linux-2.5.12-dj1.n/fs/exportfs/expfs.c
--- linux-2.5.12-dj1/fs/exportfs/expfs.c Thu May 2 10:56:55 2002
+++ linux-2.5.12-dj1.n/fs/exportfs/expfs.c Thu May 2 10:41:16 2002
@@ -3,6 +3,8 @@
#include <linux/module.h>
#include <linux/smp_lock.h>
+MODULE_LICENSE("GPL");
+
/**
* find_exported_dentry - helper routine to implement export_operations->decode_fh
* @sb: The &super_block identifying the filesystem
diff -urN linux-2.5.12-dj1/fs/hpfs/super.c linux-2.5.12-dj1.n/fs/hpfs/super.c
--- linux-2.5.12-dj1/fs/hpfs/super.c Mon Apr 15 16:14:50 2002
+++ linux-2.5.12-dj1.n/fs/hpfs/super.c Thu May 2 10:54:19 2002
@@ -650,3 +650,4 @@
module_init(init_hpfs_fs)
module_exit(exit_hpfs_fs)
+MODULE_LICENSE("GPL");
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-05-02 9:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-02 9:31 [PATCH] add missing MODULE_LICENSE tags in fs/ tomas szepe
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®