Ver Fonte

sysfs: add copyrights

Sysfs has gone through considerable amount of reimplementation.  Add
copyrights.  Any objections?  :-)

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Tejun Heo há 17 anos atrás
pai
commit
6d66f5cd26
8 ficheiros alterados com 61 adições e 7 exclusões
  1. 7 1
      fs/sysfs/bin.c
  2. 9 1
      fs/sysfs/dir.c
  3. 9 1
      fs/sysfs/file.c
  4. 6 2
      fs/sysfs/inode.c
  5. 9 1
      fs/sysfs/mount.c
  6. 9 1
      fs/sysfs/symlink.c
  7. 10 0
      fs/sysfs/sysfs.h
  8. 2 0
      include/linux/sysfs.h

+ 7 - 1
fs/sysfs/bin.c

@@ -1,9 +1,15 @@
 /*
 /*
- * bin.c - binary file operations for sysfs.
+ * fs/sysfs/bin.c - sysfs binary file implementation
  *
  *
  * Copyright (c) 2003 Patrick Mochel
  * Copyright (c) 2003 Patrick Mochel
  * Copyright (c) 2003 Matthew Wilcox
  * Copyright (c) 2003 Matthew Wilcox
  * Copyright (c) 2004 Silicon Graphics, Inc.
  * Copyright (c) 2004 Silicon Graphics, Inc.
+ * Copyright (c) 2007 SUSE Linux Products GmbH
+ * Copyright (c) 2007 Tejun Heo <teheo@suse.de>
+ *
+ * This file is released under the GPLv2.
+ *
+ * Please see Documentation/filesystems/sysfs.txt for more information.
  */
  */
 
 
 #undef DEBUG
 #undef DEBUG

+ 9 - 1
fs/sysfs/dir.c

@@ -1,5 +1,13 @@
 /*
 /*
- * dir.c - Operations for sysfs directories.
+ * fs/sysfs/dir.c - sysfs core and dir operation implementation
+ *
+ * Copyright (c) 2001-3 Patrick Mochel
+ * Copyright (c) 2007 SUSE Linux Products GmbH
+ * Copyright (c) 2007 Tejun Heo <teheo@suse.de>
+ *
+ * This file is released under the GPLv2.
+ *
+ * Please see Documentation/filesystems/sysfs.txt for more information.
  */
  */
 
 
 #undef DEBUG
 #undef DEBUG

+ 9 - 1
fs/sysfs/file.c

@@ -1,5 +1,13 @@
 /*
 /*
- * file.c - operations for regular (text) files.
+ * fs/sysfs/file.c - sysfs regular (text) file implementation
+ *
+ * Copyright (c) 2001-3 Patrick Mochel
+ * Copyright (c) 2007 SUSE Linux Products GmbH
+ * Copyright (c) 2007 Tejun Heo <teheo@suse.de>
+ *
+ * This file is released under the GPLv2.
+ *
+ * Please see Documentation/filesystems/sysfs.txt for more information.
  */
  */
 
 
 #include <linux/module.h>
 #include <linux/module.h>

+ 6 - 2
fs/sysfs/inode.c

@@ -1,7 +1,11 @@
 /*
 /*
- * inode.c - basic inode and dentry operations.
+ * fs/sysfs/inode.c - basic sysfs inode and dentry operations
  *
  *
- * sysfs is Copyright (c) 2001-3 Patrick Mochel
+ * Copyright (c) 2001-3 Patrick Mochel
+ * Copyright (c) 2007 SUSE Linux Products GmbH
+ * Copyright (c) 2007 Tejun Heo <teheo@suse.de>
+ *
+ * This file is released under the GPLv2.
  *
  *
  * Please see Documentation/filesystems/sysfs.txt for more information.
  * Please see Documentation/filesystems/sysfs.txt for more information.
  */
  */

+ 9 - 1
fs/sysfs/mount.c

@@ -1,5 +1,13 @@
 /*
 /*
- * mount.c - operations for initializing and mounting sysfs.
+ * fs/sysfs/symlink.c - operations for initializing and mounting sysfs
+ *
+ * Copyright (c) 2001-3 Patrick Mochel
+ * Copyright (c) 2007 SUSE Linux Products GmbH
+ * Copyright (c) 2007 Tejun Heo <teheo@suse.de>
+ *
+ * This file is released under the GPLv2.
+ *
+ * Please see Documentation/filesystems/sysfs.txt for more information.
  */
  */
 
 
 #define DEBUG 
 #define DEBUG 

+ 9 - 1
fs/sysfs/symlink.c

@@ -1,5 +1,13 @@
 /*
 /*
- * symlink.c - operations for sysfs symlinks.
+ * fs/sysfs/symlink.c - sysfs symlink implementation
+ *
+ * Copyright (c) 2001-3 Patrick Mochel
+ * Copyright (c) 2007 SUSE Linux Products GmbH
+ * Copyright (c) 2007 Tejun Heo <teheo@suse.de>
+ *
+ * This file is released under the GPLv2.
+ *
+ * Please see Documentation/filesystems/sysfs.txt for more information.
  */
  */
 
 
 #include <linux/fs.h>
 #include <linux/fs.h>

+ 10 - 0
fs/sysfs/sysfs.h

@@ -1,3 +1,13 @@
+/*
+ * fs/sysfs/sysfs.h - sysfs internal header file
+ *
+ * Copyright (c) 2001-3 Patrick Mochel
+ * Copyright (c) 2007 SUSE Linux Products GmbH
+ * Copyright (c) 2007 Tejun Heo <teheo@suse.de>
+ *
+ * This file is released under the GPLv2.
+ */
+
 struct sysfs_open_dirent;
 struct sysfs_open_dirent;
 
 
 /* type-specific structures for sysfs_dirent->s_* union members */
 /* type-specific structures for sysfs_dirent->s_* union members */

+ 2 - 0
include/linux/sysfs.h

@@ -3,6 +3,8 @@
  *
  *
  * Copyright (c) 2001,2002 Patrick Mochel
  * Copyright (c) 2001,2002 Patrick Mochel
  * Copyright (c) 2004 Silicon Graphics, Inc.
  * Copyright (c) 2004 Silicon Graphics, Inc.
+ * Copyright (c) 2007 SUSE Linux Products GmbH
+ * Copyright (c) 2007 Tejun Heo <teheo@suse.de>
  *
  *
  * Please see Documentation/filesystems/sysfs.txt for more information.
  * Please see Documentation/filesystems/sysfs.txt for more information.
  */
  */