From d091d6327f5c74d46b7ad15c9ae0433c1c2cfbad Mon Sep 17 00:00:00 2001 From: phil Date: Sat, 19 Jul 2003 18:10:51 +0000 Subject: [PATCH] Get patches out of my working tree; change to the ENABLE_ORPHANS constant and fix a couple of warnings --- lustre/obdfilter/filter_internal.h | 2 ++ lustre/obdfilter/filter_log.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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; -- 1.8.3.1