Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae22ab4
)
Branch: b_new_cmd
author
wangdi
<wangdi>
Tue, 19 Sep 2006 16:12:57 +0000
(16:12 +0000)
committer
wangdi
<wangdi>
Tue, 19 Sep 2006 16:12:57 +0000
(16:12 +0000)
put the iam_it anyway
lustre/mdd/mdd_orphans.c
patch
|
blob
|
history
diff --git
a/lustre/mdd/mdd_orphans.c
b/lustre/mdd/mdd_orphans.c
index
4f35c92
..
5209cc7
100644
(file)
--- a/
lustre/mdd/mdd_orphans.c
+++ b/
lustre/mdd/mdd_orphans.c
@@
-154,10
+154,11
@@
static int orph_index_iterate(const struct lu_context *ctx,
orph_key_test_and_del(ctx, mdd, key);
result = iops->next(ctx, it);
}
- iops->put(ctx, it);
- } else if (result == 0)
+ } else if (result == 0)
/* Index contains no zero key? */
result = -EIO;
+
+ iops->put(ctx, it);
iops->fini(ctx, it);
} else
result = -ENOMEM;