lkml.org 
[lkml]   [2000]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject(correction) Re: [patch-2.3.52-p2] cleanup of <linux/fs.h>
my previous patch was incomplete because <linux/fs.h> needed
<linux/module.h> to access THIS_MODULE. Here is the correct version:

--- fs.h.0 Mon Mar 13 21:15:32 2000
+++ fs.h Mon Mar 13 21:27:03 2000
@@ -21,6 +21,7 @@
#include <linux/cache.h>
#include <linux/stddef.h>
#include <linux/string.h>
+#include <linux/module.h>

#include <asm/atomic.h>
#include <asm/bitops.h>
@@ -730,7 +731,6 @@
struct file_system_type * next;
};

-#ifdef MODULE
#define DECLARE_FSTYPE(var,type,read,flags) \
struct file_system_type var = { \
name: type, \
@@ -738,14 +738,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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.053 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site