From 85f07e7c7a713a3b0ac374bb4e12bdf0e8d1c5b9 Mon Sep 17 00:00:00 2001 From: yury Date: Mon, 16 Oct 2006 07:28:12 +0000 Subject: [PATCH] - more fixes about mdt_thread_info --- lustre/fid/lproc_fid.c | 4 ++-- lustre/mdt/mdt_handler.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lustre/fid/lproc_fid.c b/lustre/fid/lproc_fid.c index d666047..e5692af 100644 --- a/lustre/fid/lproc_fid.c +++ b/lustre/fid/lproc_fid.c @@ -261,8 +261,8 @@ seq_client_proc_write_width(struct file *file, const char *buffer, seq->lcs_width = val; if (rc == 0) { - CDEBUG(D_WARNING, "%s: Allocation unit has changed to " - ""LPU64"\n", seq->lcs_name, seq->lcs_width); + CDEBUG(D_WARNING, "%s: Sequence size: "LPU64"\n", + seq->lcs_name, seq->lcs_width); } } diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index eecb1f0..e17953d 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -1752,6 +1752,8 @@ static void mdt_thread_info_init(struct ptlrpc_request *req, info->mti_rep_buf_size); memset(&info->mti_attr, 0, sizeof(info->mti_attr)); memset(&info->mti_policy, 0, sizeof(info->mti_policy)); + memset(&info->mti_capa_key, 0, sizeof(info->mti_capa_key)); + info->mti_has_trans = 0; info->mti_opdata = 0; info->mti_no_need_trans = 0; -- 1.8.3.1