Whamcloud - gitweb
snap/snap.c, class/obdcontrol: added support for snapshot restores
[fs/lustre-release.git] / lustre / include / linux / obd_sim.h
index 6b56399..c95fb04 100644 (file)
@@ -1,11 +1,11 @@
 #ifndef _OBD_SIM
 #define _OBD_SIM
 
-struct sim_obd {
-       struct super_block * sim_sb;
-       unsigned int sim_last_id;
-       unsigned long sim_prealloc_quota;
-       struct list_head sim_clients;
+#define OBD_EXT2_RUNIT           _IOWR('f', 61, long)
+
+
+struct ext2_obd {
+       struct super_block * ext2_sb;
 };
 
 
@@ -14,7 +14,7 @@ extern struct obdfs_sb_info *obd_sbi;
 extern struct file_operations *obd_fso;
 
 /* obd_sim.c */
-extern struct obd_ops sim_obd_ops;
+extern struct obd_ops ext2_obd_ops;
 inline long ext2_block_map (struct inode * inode, long block);
 
 /* balloc.c */