classifier: fix dentry alias list iteration
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
parent
80f8e617e3
commit
1774179493
@ -315,7 +315,7 @@ static struct dentry *_cas_cls_dir_get_inode_dentry(struct inode *inode)
|
|||||||
spin_lock(&iter->d_lock);
|
spin_lock(&iter->d_lock);
|
||||||
if (!d_unhashed(iter))
|
if (!d_unhashed(iter))
|
||||||
d = iter;
|
d = iter;
|
||||||
spin_unlock(&d->d_lock);
|
spin_unlock(&iter->d_lock);
|
||||||
if (d)
|
if (d)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user