Skip to content
Snippets Groups Projects
Commit 8ed4467c authored by Peter Braam's avatar Peter Braam
Browse files

Fixed a spelling mistake: "symulated" --> "simulated" (sym_obd etc).

Improved configuration scripts

Removed compiler warnings from re-defining ext2_error
parent 846a8a15
No related branches found
No related tags found
No related merge requests found
#include <../obd/linux/sym_obd.h> #include <../obd/linux/sim_obd.h>
struct obdfs_sb_info { struct obdfs_sb_info {
......
#ifndef __LINUX_SYM_OBD_H #ifndef __LINUX_SIM_OBD_H
#define __LINUX_SYM_OBD_H #define __LINUX_SIM_OBD_H
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/ext2_fs.h> #include <linux/ext2_fs.h>
#include <linux/malloc.h> #include <linux/malloc.h>
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#define SYM_OBD_DEBUG #define SIM_OBD_DEBUG
/* /*
* Debug code * Debug code
...@@ -29,7 +29,7 @@ extern int obd_print_entry; ...@@ -29,7 +29,7 @@ extern int obd_print_entry;
#define D_IOCTL 1024 /* ioctl related information */ #define D_IOCTL 1024 /* ioctl related information */
#define D_BLOCKS 2048 /* ext2 block allocation */ #define D_BLOCKS 2048 /* ext2 block allocation */
#ifdef SYM_OBD_DEBUG #ifdef SIM_OBD_DEBUG
#define CDEBUG(mask, format, a...) \ #define CDEBUG(mask, format, a...) \
do { \ do { \
if (obd_debug_level & mask) { \ if (obd_debug_level & mask) { \
...@@ -45,13 +45,13 @@ extern int obd_print_entry; ...@@ -45,13 +45,13 @@ extern int obd_print_entry;
if (obd_print_entry) \ if (obd_print_entry) \
printk("Process %d leaving %s\n", current->pid, __FUNCTION__) printk("Process %d leaving %s\n", current->pid, __FUNCTION__)
#else /* SYM_OBD_DEBUG */ #else /* SIM_OBD_DEBUG */
# define CDEBUG ; # define CDEBUG ;
# define ENTRY ; # define ENTRY ;
# define EXIT ; # 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, ...@@ -222,6 +222,7 @@ int obd_ioctl (struct inode * inode, struct file * filp, unsigned int cmd,
/* super.c */ /* super.c */
#define ext2_warning obd_warning #define ext2_warning obd_warning
#undef ext2_error
#define ext2_error obd_warning #define ext2_error obd_warning
#define ext2_panic obd_warning #define ext2_panic obd_warning
...@@ -256,4 +257,4 @@ extern struct inode_operations ext2_file_inode_operations; ...@@ -256,4 +257,4 @@ extern struct inode_operations ext2_file_inode_operations;
/* super.c */ /* super.c */
extern struct super_operations ext2_sops; extern struct super_operations ext2_sops;
#endif /* __LINUX_SYM_OBD_H */ #endif /* __LINUX_SIM_OBD_H */
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/utsname.h> #include <linux/utsname.h>
#include <linux/sym_obd.h> #include <linux/sim_obd.h>
#include <linux/presto.h> #include <linux/presto.h>
#include <linux/obd_psdev.h> #include <linux/obd_psdev.h>
#include <linux/presto_upcall.h> #include <linux/presto_upcall.h>
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <asm/segment.h> #include <asm/segment.h>
#include <../obd/linux/sym_obd.h> #include <../obd/linux/sim_obd.h>
#include <obdfs.h> #include <obdfs.h>
/* DEBUGGING! */ /* DEBUGGING! */
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/utsname.h> #include <linux/utsname.h>
#include <linux/sym_obd.h> #include <linux/sim_obd.h>
#include <linux/presto.h> #include <linux/presto.h>
#include <linux/obd_psdev.h> #include <linux/obd_psdev.h>
#include <linux/presto_upcall.h> #include <linux/presto_upcall.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment