Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Branch:HEAD
[fs/lustre-release.git]
/
lustre
/
lov
/
lovsub_lock.c
diff --git
a/lustre/lov/lovsub_lock.c
b/lustre/lov/lovsub_lock.c
index
66b6989
..
baceb9b
100644
(file)
--- a/
lustre/lov/lovsub_lock.c
+++ b/
lustre/lov/lovsub_lock.c
@@
-412,8
+412,9
@@
static int lovsub_lock_delete_one(const struct lu_env *env,
break;
case CLS_HELD:
default:
- CERROR("Impossible state: %i\n", parent->cll_state);
- LBUG();
+ LASSERTF(parent->cll_error != 0, "cll state %d is wrong!\n",
+ parent->cll_state);
+ break;
}
RETURN(result);