Merge branch 'stable-4.6' of git://git.infradead.org/users/pcmoore/audit
[deliverable/linux.git] / kernel / audit_watch.c
index 0348b12b5a4d4a39acf68ead5951e640674ace07..3cf1c5978d39e4fbc7f44826017bbdd755f6c9df 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;
This page took 0.026136 seconds and 5 git commands to generate.