From: braam Date: Wed, 28 Jul 1999 16:11:56 +0000 (+0000) Subject: Fixed a spelling mistake: "symulated" --> "simulated" (sym_obd etc). X-Git-Tag: 0.4.2~813 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8ed4467ccecb3f030f6c69a3e821547c9e1f6712;p=fs%2Flustre-release.git Fixed a spelling mistake: "symulated" --> "simulated" (sym_obd etc). Improved configuration scripts Removed compiler warnings from re-defining ext2_error --- diff --git a/lustre/include/linux/obdfs.h b/lustre/include/linux/obdfs.h index 0eb8d88..46df61c 100644 --- a/lustre/include/linux/obdfs.h +++ b/lustre/include/linux/obdfs.h @@ -1,4 +1,4 @@ -#include <../obd/linux/sym_obd.h> +#include <../obd/linux/sim_obd.h> struct obdfs_sb_info { diff --git a/lustre/include/linux/sym_obd.h b/lustre/include/linux/sim_obd.h similarity index 97% rename from lustre/include/linux/sym_obd.h rename to lustre/include/linux/sim_obd.h index be63d1e..ad5dcc2 100755 --- a/lustre/include/linux/sym_obd.h +++ b/lustre/include/linux/sim_obd.h @@ -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 #include #include #include -#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 */ diff --git a/lustre/obdclass/sysctl.c b/lustre/obdclass/sysctl.c index c221e7a..e36a48c 100644 --- a/lustre/obdclass/sysctl.c +++ b/lustre/obdclass/sysctl.c @@ -11,7 +11,7 @@ #include #include -#include +#include #include #include #include diff --git a/lustre/obdfs/super.c b/lustre/obdfs/super.c index 7d61a06..f7b21a1 100644 --- a/lustre/obdfs/super.c +++ b/lustre/obdfs/super.c @@ -25,7 +25,7 @@ #include #include -#include <../obd/linux/sym_obd.h> +#include <../obd/linux/sim_obd.h> #include /* DEBUGGING! */ diff --git a/lustre/obdfs/sysctl.c b/lustre/obdfs/sysctl.c index 5f4eca6..006e34b 100644 --- a/lustre/obdfs/sysctl.c +++ b/lustre/obdfs/sysctl.c @@ -11,7 +11,7 @@ #include #include -#include +#include #include #include #include