]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/audit_watch.c
omap3: Fix handling some GPIO's for WLAN-BT combo on IGEP v2
[karo-tx-linux.git] / kernel / audit_watch.c
index 6bf2306be7d69510b3feda529c74b5a0c8496013..f0c9b2e7542dfd5b2980164a2f5ccedbcd2bb0d1 100644 (file)
@@ -526,8 +526,8 @@ static int audit_watch_handle_event(struct fsnotify_group *group,
        BUG_ON(group != audit_watch_group);
 
        switch (event->data_type) {
-       case (FSNOTIFY_EVENT_FILE):
-               inode = event->file->f_path.dentry->d_inode;
+       case (FSNOTIFY_EVENT_PATH):
+               inode = event->path.dentry->d_inode;
                break;
        case (FSNOTIFY_EVENT_INODE):
                inode = event->inode;