diff options
Diffstat (limited to 'kernel/audit_watch.c')
-rw-r--r-- | kernel/audit_watch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c index 7499397a6100..b955a22d8ff1 100644 --- a/kernel/audit_watch.c +++ b/kernel/audit_watch.c | |||
@@ -545,8 +545,8 @@ static int audit_watch_handle_event(struct fsnotify_group *group, struct fsnotif | |||
545 | return 0; | 545 | return 0; |
546 | 546 | ||
547 | switch (event->data_type) { | 547 | switch (event->data_type) { |
548 | case (FSNOTIFY_EVENT_PATH): | 548 | case (FSNOTIFY_EVENT_FILE): |
549 | inode = event->path.dentry->d_inode; | 549 | inode = event->file->f_path.dentry->d_inode; |
550 | break; | 550 | break; |
551 | case (FSNOTIFY_EVENT_INODE): | 551 | case (FSNOTIFY_EVENT_INODE): |
552 | inode = event->inode; | 552 | inode = event->inode; |