vmstat: Remove BUG_ON from vmstat_update
[linux-drm-fsl-dcu.git] / kernel / audit_watch.c
index 656c7e93ac0d30d3e42a8f7e0dfc7dd071360d78..9f194aad0adc0600ce257581315824f540eb9c0b 100644 (file)
@@ -364,7 +364,7 @@ static int audit_get_nd(struct audit_watch *watch, struct path *parent)
        struct dentry *d = kern_path_locked(watch->path, parent);
        if (IS_ERR(d))
                return PTR_ERR(d);
-       mutex_unlock(&d_backing_inode(parent->dentry)->i_mutex);
+       inode_unlock(d_backing_inode(parent->dentry));
        if (d_is_positive(d)) {
                /* update watch filter fields */
                watch->dev = d_backing_inode(d)->i_sb->s_dev;