Whamcloud - gitweb
LU-15535 revert: "LU-15284 llite: access lli_lsm_md with lock in all places"
[fs/lustre-release.git] / lustre / llite / statahead.c
index 6d056fc..0253b0d 100644 (file)
@@ -1227,10 +1227,8 @@ static int ll_statahead_thread(void *arg)
                }
 
                pos = le64_to_cpu(dp->ldp_hash_end);
-               down_read(&lli->lli_lsm_sem);
                ll_release_page(dir, page,
                                le32_to_cpu(dp->ldp_flags) & LDF_COLLIDE);
-               up_read(&lli->lli_lsm_sem);
 
                if (sa_low_hit(sai)) {
                        rc = -EFAULT;