X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=kernel%2Faudit_watch.c;h=3cf1c5978d39e4fbc7f44826017bbdd755f6c9df;hb=ae7ef45e12354a1e2f6013b46df0c9f5bbb6ffbe;hp=656c7e93ac0d30d3e42a8f7e0dfc7dd071360d78;hpb=e9f57ebcba563e0cd532926cab83c92bb4d79360;p=deliverable%2Flinux.git diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c index 656c7e93ac0d..3cf1c5978d39 100644 --- a/kernel/audit_watch.c +++ b/kernel/audit_watch.c @@ -185,7 +185,7 @@ static struct audit_watch *audit_init_watch(char *path) return watch; } -/* Translate a watch string to kernel respresentation. */ +/* Translate a watch string to kernel representation. */ int audit_to_watch(struct audit_krule *krule, char *path, int len, u32 op) { struct audit_watch *watch; @@ -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;