This is for consistency with the rest of the code, which helps us place
debugging code when un/locking our special "info" mutex in our dentries.
goto out;
mutex_init(&info->lock);
- mutex_lock(&info->lock);
+ unionfs_lock_dentry(dentry);
unlock_on_err = 1;
info->lower_paths = NULL;
out_free:
kfree(info->lower_paths);
if (unlock_on_err)
- mutex_unlock(&info->lock);
+ unionfs_unlock_dentry(dentry);
out:
free_dentry_private_data(info);