From: pschwan Date: Sat, 26 Oct 2002 18:54:22 +0000 (+0000) Subject: Oops, one more. X-Git-Tag: 0.5.16~115 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=ef7f79de0061e39fa7f20caee5b0c65220c5163f;p=fs%2Flustre-release.git Oops, one more. --- diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index 0ef90c6..8e11ab3 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -384,7 +384,7 @@ 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(&fdd->fo_fddlock); + 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;