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:
62bc93b
)
braces are forgotton after condition sentence.
author
huanghua
<huanghua>
Wed, 16 Aug 2006 09:51:39 +0000
(09:51 +0000)
committer
huanghua
<huanghua>
Wed, 16 Aug 2006 09:51:39 +0000
(09:51 +0000)
lustre/fld/fld_cache.c
patch
|
blob
|
history
diff --git
a/lustre/fld/fld_cache.c
b/lustre/fld/fld_cache.c
index
19a2ee2
..
fd0ee24
100644
(file)
--- a/
lustre/fld/fld_cache.c
+++ b/
lustre/fld/fld_cache.c
@@
-196,9
+196,10
@@
int fld_cache_insert(struct fld_cache_info *cache,
/* check if cache already has the entry with such a seq */
bucket = fld_cache_bucket(cache, seq);
hlist_for_each_entry(fldt, scan, bucket, fce_list) {
- if (fldt->fce_seq == seq)
+ if (fldt->fce_seq == seq)
{
spin_unlock(&cache->fci_lock);
RETURN(rc = -EEXIST);
+ }
}
spin_unlock(&cache->fci_lock);