From 9c7e2b102aa33669f42c81d29df3c4b889ba001f Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 7 Jul 2005 13:38:55 +0000 Subject: [PATCH] b=6913 - retract extents lock from clients even if OSS hasn't created object yet --- lustre/obdfilter/filter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index 46b9803..bc1f0ff 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -2629,7 +2629,8 @@ static int filter_destroy(struct obd_export *exp, struct obdo *oa, if (dchild->d_inode == NULL) { CDEBUG(D_INODE, "destroying non-existent object "LPU64"\n", oa->o_id); - GOTO(cleanup, rc = -ENOENT); + if (have_prepared) + GOTO(cleanup, rc = -ENOENT); } if (!have_prepared) { -- 1.8.3.1