Whamcloud - gitweb
Fixed a spelling mistake: "symulated" --> "simulated" (sym_obd etc).
authorbraam <braam>
Wed, 28 Jul 1999 16:11:56 +0000 (16:11 +0000)
committerbraam <braam>
Wed, 28 Jul 1999 16:11:56 +0000 (16:11 +0000)
Improved configuration scripts

Removed compiler warnings from re-defining ext2_error

lustre/include/linux/obdfs.h
lustre/include/linux/sim_obd.h [moved from lustre/include/linux/sym_obd.h with 97% similarity]
lustre/obdclass/sysctl.c
lustre/obdfs/super.c
lustre/obdfs/sysctl.c

index 0eb8d88..46df61c 100644 (file)
@@ -1,4 +1,4 @@
-#include <../obd/linux/sym_obd.h>
+#include <../obd/linux/sim_obd.h>
 
 
 struct obdfs_sb_info {
similarity index 97%
rename from lustre/include/linux/sym_obd.h
rename to lustre/include/linux/sim_obd.h
index be63d1e..ad5dcc2 100755 (executable)
@@ -1,12 +1,12 @@
-#ifndef __LINUX_SYM_OBD_H
-#define __LINUX_SYM_OBD_H
+#ifndef __LINUX_SIM_OBD_H
+#define __LINUX_SIM_OBD_H
 
 #include <linux/fs.h>
 #include <linux/ext2_fs.h>
 #include <linux/malloc.h>
 #include <linux/vmalloc.h>
 
-#define SYM_OBD_DEBUG
+#define SIM_OBD_DEBUG
 
 /*
  * Debug code
@@ -29,7 +29,7 @@ extern int obd_print_entry;
 #define D_IOCTL    1024 /* ioctl related information */
 #define D_BLOCKS   2048 /* ext2 block allocation */
  
-#ifdef SYM_OBD_DEBUG
+#ifdef SIM_OBD_DEBUG
 #define CDEBUG(mask, format, a...)                                     \
         do {                                                           \
        if (obd_debug_level & mask) {                                   \
@@ -45,13 +45,13 @@ extern int obd_print_entry;
         if (obd_print_entry)                                                 \
                 printk("Process %d leaving %s\n", current->pid, __FUNCTION__)
 
-#else /* SYM_OBD_DEBUG */
+#else /* SIM_OBD_DEBUG */
 
 #       define CDEBUG ;
 #       define ENTRY ;
 #       define EXIT ;
 
-#endif /* SYM_OBD_DEBUG */
+#endif /* SIM_OBD_DEBUG */
 
 
 
@@ -222,6 +222,7 @@ int obd_ioctl (struct inode * inode, struct file * filp, unsigned int cmd,
 
 /* super.c */
 #define ext2_warning obd_warning
+#undef ext2_error
 #define ext2_error obd_warning
 #define ext2_panic obd_warning
 
@@ -256,4 +257,4 @@ extern struct inode_operations ext2_file_inode_operations;
 /* super.c */
 extern struct super_operations ext2_sops;
 
-#endif /* __LINUX_SYM_OBD_H */
+#endif /* __LINUX_SIM_OBD_H */
index c221e7a..e36a48c 100644 (file)
@@ -11,7 +11,7 @@
 #include <asm/uaccess.h>
 #include <linux/utsname.h>
 
-#include <linux/sym_obd.h>
+#include <linux/sim_obd.h>
 #include <linux/presto.h>
 #include <linux/obd_psdev.h>
 #include <linux/presto_upcall.h>
index 7d61a06..f7b21a1 100644 (file)
@@ -25,7 +25,7 @@
 #include <linux/vmalloc.h>
 #include <asm/segment.h>
 
-#include <../obd/linux/sym_obd.h>
+#include <../obd/linux/sim_obd.h>
 #include <obdfs.h>
 
 /* DEBUGGING! */
index 5f4eca6..006e34b 100644 (file)
@@ -11,7 +11,7 @@
 #include <asm/uaccess.h>
 #include <linux/utsname.h>
 
-#include <linux/sym_obd.h>
+#include <linux/sim_obd.h>
 #include <linux/presto.h>
 #include <linux/obd_psdev.h>
 #include <linux/presto_upcall.h>