From 91ac3e0e866331300a6541cbf2102f5ab750097c Mon Sep 17 00:00:00 2001 From: yury Date: Tue, 31 Oct 2006 15:28:16 +0000 Subject: [PATCH] - fix in comment; - use -EALRADY instead of -1 in ll_close_next_lli to point out that thread should be stopped. --- lustre/cmm/cmm_object.c | 4 ++-- lustre/llite/llite_close.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lustre/cmm/cmm_object.c b/lustre/cmm/cmm_object.c index 0c6c44f..999c218 100644 --- a/lustre/cmm/cmm_object.c +++ b/lustre/cmm/cmm_object.c @@ -437,8 +437,8 @@ static int cml_create(const struct lu_env *env, } /* - * Proceed with cmm_split_try() as nothing happened, split is - * not yet expected. + * Proceed with mdo_create() as nothing happened, split is not + * yet expected. */ } else { /* diff --git a/lustre/llite/llite_close.c b/lustre/llite/llite_close.c index 9e2e680..2881d90 100644 --- a/lustre/llite/llite_close.c +++ b/lustre/llite/llite_close.c @@ -234,7 +234,7 @@ static struct ll_inode_info *ll_close_next_lli(struct ll_close_queue *lcq) lli_close_list); list_del_init(&lli->lli_close_list); } else if (atomic_read(&lcq->lcq_stop)) - lli = ERR_PTR(-1); + lli = ERR_PTR(-EALREADY); spin_unlock(&lcq->lcq_lock); return lli; -- 1.8.3.1