mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: tomas szepe <kala@pinerecords.com>
To: lkml <linux-kernel@vger.kernel.org>
Cc: torvalds@transmeta.com
Subject: [PATCH] add missing MODULE_LICENSE tags in fs/
Date: Thu, 2 May 2002 11:31:17 +0200	[thread overview]
Message-ID: <20020502093116.GH7072@louise.pinerecords.com> (raw)

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");

                 reply	other threads:[~2002-05-02  9:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020502093116.GH7072@louise.pinerecords.com \
    --to=kala@pinerecords.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®