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:
d31b6bc
)
b=6913
author
alex
<alex>
Thu, 7 Jul 2005 13:38:55 +0000
(13:38 +0000)
committer
alex
<alex>
Thu, 7 Jul 2005 13:38:55 +0000
(13:38 +0000)
- retract extents lock from clients even if OSS hasn't created object yet
lustre/obdfilter/filter.c
patch
|
blob
|
history
diff --git
a/lustre/obdfilter/filter.c
b/lustre/obdfilter/filter.c
index
46b9803
..
bc1f0ff
100644
(file)
--- 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) {