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:
7c1a8f3
)
* Removed spurious LASSERT from lob_sublock_env_get() - the preceding 'if'
author
eeb
<eeb>
Tue, 29 Sep 2009 13:40:39 +0000
(13:40 +0000)
committer
eeb
<eeb>
Tue, 29 Sep 2009 13:40:39 +0000
(13:40 +0000)
expression will SEGV before the LASSERT fails.
lustre/lov/lov_lock.c
patch
|
blob
|
history
diff --git
a/lustre/lov/lov_lock.c
b/lustre/lov/lov_lock.c
index
157ee7d
..
c65b1a7
100644
(file)
--- a/
lustre/lov/lov_lock.c
+++ b/
lustre/lov/lov_lock.c
@@
-80,7
+80,6
@@
static struct lov_sublock_env *lov_sublock_env_get(const struct lu_env *env,
subenv->lse_io = io;
subenv->lse_sub = NULL;
} else {
- LASSERT(io != NULL);
sub = lov_sub_get(env, lio, lls->sub_stripe);
if (!IS_ERR(sub)) {
subenv->lse_env = sub->sub_env;