4 #define OBD_EXT2_RUNIT _IOWR('f', 61, long)
6 #include <linux/iobuf.h>
8 #ifndef OBD_EXT2_DEVICENAME
9 #define OBD_EXT2_DEVICENAME "obdext2"
13 struct super_block * ext2_sb;
17 /* development definitions */
18 extern struct obdfs_sb_info *obd_sbi;
19 extern struct file_operations *obd_fso;
22 extern struct obd_ops ext2_obd_ops;
25 #include <linux/ext2_fs.h>
30 # define ext2_debug(format, a...) CDEBUG(D_EXT2, format, ## a)
31 # define ext2_error ext2_warning
32 # define ext2_panic ext2_warning
33 # define ext2_warning(sb, func, format, a...) CDEBUG(D_WARNING, format, ## a)
36 # define ext2_debug(format, a...) {}
37 # define ext2_error(sb, func, format, a...) printk(KERN_ERR "%s: " format, func, ## a)
38 # define ext2_panic(sb, func, format, a...) printk(KERN_CRIT "%s: " format, func, ## a)
39 # define ext2_warning(sb, func, format, a...) printk(KERN_WARNING "%s: " format, func, ## a)
42 extern struct super_operations ext2_sops;
43 int obd_remount (struct super_block * sb, int * flags, char * data);
44 struct super_block * ext2_read_super (struct super_block * sb, void * data,
48 void ext2_truncate (struct inode * inode);
49 int ext2_punch (struct inode * inode, loff_t start, size_t count);