Skip to content

Commit

Permalink
Merge pull request #24 from arutk/inode_alias_iter_fix
Browse files Browse the repository at this point in the history
classifier: fix dentry alias list iteration
  • Loading branch information
Michał Mielewczyk authored May 24, 2019
2 parents b7aa86b + 1774179 commit 068aadd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/cas_cache/classifier.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ static struct dentry *_cas_cls_dir_get_inode_dentry(struct inode *inode)
spin_lock(&iter->d_lock);
if (!d_unhashed(iter))
d = iter;
spin_unlock(&d->d_lock);
spin_unlock(&iter->d_lock);
if (d)
break;
}
Expand Down

0 comments on commit 068aadd

Please sign in to comment.