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:
ef7f79d
)
One lock too many.
author
adilger
<adilger>
Sat, 26 Oct 2002 23:58:10 +0000
(23:58 +0000)
committer
adilger
<adilger>
Sat, 26 Oct 2002 23:58:10 +0000
(23:58 +0000)
lustre/obdfilter/filter.c
patch
|
blob
|
history
diff --git
a/lustre/obdfilter/filter.c
b/lustre/obdfilter/filter.c
index
8e11ab3
..
fd523ae
100644
(file)
--- a/
lustre/obdfilter/filter.c
+++ b/
lustre/obdfilter/filter.c
@@
-384,7
+384,6
@@
static struct file *filter_obj_open(struct obd_export *export,
atomic_inc(&fdd->fdd_open_count);
} else {
atomic_set(&fdd->fdd_open_count, 1);
- spin_lock_init(&filter->fo_fddlock);
fdd->fdd_flags = 0;
/* If this is racy, then we can use {cmp}xchg and atomic_add */
file->f_dentry->d_fsdata = fdd;