From: phil Date: Sat, 19 Jul 2003 18:10:51 +0000 (+0000) Subject: Get patches out of my working tree; change to the ENABLE_ORPHANS constant X-Git-Tag: v1_7_0_51~2^14~63 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=d091d6327f5c74d46b7ad15c9ae0433c1c2cfbad;p=fs%2Flustre-release.git Get patches out of my working tree; change to the ENABLE_ORPHANS constant and fix a couple of warnings --- diff --git a/lustre/obdfilter/filter_internal.h b/lustre/obdfilter/filter_internal.h index b93777a..1190f88 100644 --- a/lustre/obdfilter/filter_internal.h +++ b/lustre/obdfilter/filter_internal.h @@ -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); diff --git a/lustre/obdfilter/filter_log.c b/lustre/obdfilter/filter_log.c index 0c9a984..d91e1e8 100644 --- a/lustre/obdfilter/filter_log.c +++ b/lustre/obdfilter/filter_log.c @@ -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;