Whamcloud - gitweb
Get patches out of my working tree; change to the ENABLE_ORPHANS constant
authorphil <phil>
Sat, 19 Jul 2003 18:10:51 +0000 (18:10 +0000)
committerphil <phil>
Sat, 19 Jul 2003 18:10:51 +0000 (18:10 +0000)
and fix a couple of warnings

lustre/obdfilter/filter_internal.h
lustre/obdfilter/filter_log.c

index b93777a..1190f88 100644 (file)
@@ -141,6 +141,8 @@ int filter_log_op_create(struct llog_handle *cathandle, struct ll_fid *mds_fid,
                          obd_id oid, obd_count ogen, struct llog_cookie *);
 int filter_log_op_orphan(struct llog_handle *cathandle, obd_id oid,
                          obd_count ogen, struct llog_cookie *);
+struct llog_handle *filter_get_catalog(struct obd_device *);
+void filter_put_catalog(struct llog_handle *cathandle);
 
 /* filter_san.c */
 int filter_san_setup(struct obd_device *obd, obd_count len, void *buf);
index 0c9a984..d91e1e8 100644 (file)
@@ -234,7 +234,7 @@ out_ctxt:
 }
 
 /* This is called from filter_setup() and should be single threaded */
-static struct llog_handle *filter_get_catalog(struct obd_device *obd)
+struct llog_handle *filter_get_catalog(struct obd_device *obd)
 {
         struct filter_obd *filter = &obd->u.filter;
         struct filter_server_data *fsd = filter->fo_fsd;
@@ -292,7 +292,7 @@ out_handle:
         goto out;
 }
 
-static void filter_put_catalog(struct llog_handle *cathandle)
+void filter_put_catalog(struct llog_handle *cathandle)
 {
         struct llog_handle *loghandle, *n;
         int rc;