From 426bf5cd3e80c36f4df9aa946f190ea1e5b7f4da Mon Sep 17 00:00:00 2001 From: adilger Date: Tue, 20 May 2003 06:59:13 +0000 Subject: [PATCH] Most of the MDS unlink handling. For some reason using the passed mds_last_rcvd_cb as a parameter to mds_finish_transno() as an arg to fsfilt_set_last_rcvd() doesn't work very well (crashes UML), yet passing the same function pointer directly to fsfilt_set_last_rcvd() seems to work OK. AAAAAAARRRRRRGGGGGGGHHHHHHH... I see it now - prototypes for functions that are declared directly in another file, which are now WRONG!!!!!!!! I hate it when that happens. To be fixed in next checkin. --- lustre/lib/recov_log.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/lib/recov_log.c b/lustre/lib/recov_log.c index a632966..62cecc8 100644 --- a/lustre/lib/recov_log.c +++ b/lustre/lib/recov_log.c @@ -141,6 +141,9 @@ static struct llog_handle *llog_new_log(struct llog_handle *cathandle, rc = rc < 0 ? : -ENOSPC; } } + loghandle->lgh_log_create = cathandle->lgh_log_create; + loghandle->lgh_log_open = cathandle->lgh_log_open; + loghandle->lgh_log_close = cathandle->lgh_log_close; list_add_tail(&loghandle->lgh_list, &cathandle->lgh_list); RETURN(loghandle); -- 1.8.3.1