linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] SNAPPY: Add dual GPL/BSD license to snappy module
@ 2012-01-15 22:49 Andi Kleen
  0 siblings, 0 replies; only message in thread
From: Andi Kleen @ 2012-01-15 22:49 UTC (permalink / raw)
  To: chris.mason; +Cc: linux-kernel, linux-btrfs, Andi Kleen

From: Andi Kleen <ak@linux.intel.com>

To avoid complaints from the module loader.

I made it dual because the original compression code was BSD.

Reported-by: Chris Mason
Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
 lib/snappy.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/snappy.c b/lib/snappy.c
index 0b39e07..3848c6c 100644
--- a/lib/snappy.c
+++ b/lib/snappy.c
@@ -1298,3 +1298,5 @@ void snappy_free_env(struct snappy_env *env)
 	memset(env, 0, sizeof(struct snappy_env));
 }
 EXPORT_SYMBOL(snappy_free_env);
+
+MODULE_LICENSE("Dual BSD/GPL");
-- 
1.7.7.4

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

only message in thread, other threads:[~2012-01-15 22:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-15 22:49 [PATCH] SNAPPY: Add dual GPL/BSD license to snappy module Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).