Whamcloud - gitweb
b=7049
[fs/lustre-release.git] / lustre / obdfilter / filter_internal.h
index 06b802a..c9545d9 100644 (file)
@@ -111,6 +111,18 @@ int filter_update_last_objid(struct obd_device *, obd_gr, int force_sync);
 int filter_common_setup(struct obd_device *, obd_count len, void *buf,
                         char *option);
 
+struct dentry *filter_crow_object(struct obd_device *obd, __u64 ogr,
+                                  __u64 oid, obd_uid uid, obd_gid gid);
+
+int filter_setattr_internal(struct obd_export *exp, struct dentry *dentry,
+                            struct obdo *oa, struct obd_trans_info *oti);
+
+int filter_setattr(struct obd_export *exp, struct obdo *oa,
+                   struct lov_stripe_md *md, struct obd_trans_info *oti);
+
+int filter_create_object(struct obd_device *obd, obd_gr group, obd_id id,
+                         obd_uid uid, obd_gid gid);
+
 /* filter_lvb.c */
 extern struct ldlm_valblock_ops filter_lvbo;
 
@@ -159,10 +171,11 @@ struct ost_filterdata {
         __u32  ofd_epoch;
 };
 
-int filter_log_sz_change(struct llog_handle *cathandle,
+int filter_log_sz_change(struct obd_device *obd,
                          struct lustre_id *id, __u32 io_epoch,
-                         struct llog_cookie *logcookie,
+                         struct llog_cookie *logcookie, 
                          struct inode *inode);
+
 //int filter_get_catalog(struct obd_device *);
 void filter_cancel_cookies_cb(struct obd_device *obd, __u64 transno,
                               void *cb_data, int error);
@@ -191,5 +204,4 @@ static inline void  filter_tally_read(struct filter_obd *filter,
 static inline lproc_filter_attach_seqstat(struct obd_device *dev) {}
 #endif
 
-
 #endif