[patch-2.3.52-p2] cleanup of <linux/fs.h>

From: Tigran Aivazian (tigran@aivazian.fsnet.co.uk)
Date: Mon Mar 13 2000 - 16:20:00 EST


Hi Linus, Al,

There is no need to have two separate DECLARE_FSTYPE() macros just because
of the owner field - the THIS_MODULE takes care of itself.

Regards,
Tigran

--- fs.h.0 Mon Mar 13 21:15:32 2000
+++ fs.h Mon Mar 13 21:15:05 2000
@@ -730,7 +730,6 @@
         struct file_system_type * next;
 };
 
-#ifdef MODULE
 #define DECLARE_FSTYPE(var,type,read,flags) \
 struct file_system_type var = { \
         name: type, \
@@ -738,14 +737,6 @@
         fs_flags: flags, \
         owner: THIS_MODULE, \
 }
-#else
-#define DECLARE_FSTYPE(var,type,read,flags) \
-struct file_system_type var = { \
- name: type, \
- read_super: read, \
- fs_flags: flags, \
-}
-#endif
 
 #define DECLARE_FSTYPE_DEV(var,type,read) \
         DECLARE_FSTYPE(var,type,read,FS_REQUIRES_DEV)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:26 EST