From 6b85a44e85ba6a7754516ceb0e406d45475a3676 Mon Sep 17 00:00:00 2001 From: tappro Date: Tue, 7 Oct 2008 11:47:57 +0000 Subject: [PATCH] - initialize transaction table if needed b:17174 i:bzzz, adilger --- lustre/obdfilter/filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index 8c36124..8d0b4d4 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -826,7 +826,6 @@ static int filter_init_server_data(struct obd_device *obd, struct file * filp) fsd->lsd_server_size = cpu_to_le32(LR_SERVER_SIZE); fsd->lsd_client_start = cpu_to_le32(LR_CLIENT_START); fsd->lsd_client_size = cpu_to_le16(LR_CLIENT_SIZE); - fsd->lsd_expire_intervals = cpu_to_le32(LR_EXPIRE_INTERVALS); fsd->lsd_subdir_count = cpu_to_le16(FILTER_SUBDIR_COUNT); filter->fo_subdir_count = FILTER_SUBDIR_COUNT; fsd->lsd_feature_incompat = cpu_to_le32(OBD_INCOMPAT_OST); @@ -868,6 +867,7 @@ static int filter_init_server_data(struct obd_device *obd, struct file * filp) GOTO(err_fsd, rc = -EINVAL); } + target_trans_table_init(obd); start_epoch = le32_to_cpu(fsd->lsd_start_epoch); CDEBUG(D_INODE, "%s: server start_epoch : %#x\n", -- 1.8.3.1