diff options
Diffstat (limited to 'fs/notify/fanotify/fanotify_user.c')
-rw-r--r-- | fs/notify/fanotify/fanotify_user.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/notify/fanotify/fanotify_user.c b/fs/notify/fanotify/fanotify_user.c index 6fcaeb8c902e..a5cd9bba022f 100644 --- a/fs/notify/fanotify/fanotify_user.c +++ b/fs/notify/fanotify/fanotify_user.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <asm/ioctls.h> | 17 | #include <asm/ioctls.h> |
18 | 18 | ||
19 | #include "../../mount.h" | 19 | #include "../../mount.h" |
20 | #include "../fdinfo.h" | ||
20 | 21 | ||
21 | #define FANOTIFY_DEFAULT_MAX_EVENTS 16384 | 22 | #define FANOTIFY_DEFAULT_MAX_EVENTS 16384 |
22 | #define FANOTIFY_DEFAULT_MAX_MARKS 8192 | 23 | #define FANOTIFY_DEFAULT_MAX_MARKS 8192 |
@@ -428,6 +429,7 @@ static long fanotify_ioctl(struct file *file, unsigned int cmd, unsigned long ar | |||
428 | } | 429 | } |
429 | 430 | ||
430 | static const struct file_operations fanotify_fops = { | 431 | static const struct file_operations fanotify_fops = { |
432 | .show_fdinfo = fanotify_show_fdinfo, | ||
431 | .poll = fanotify_poll, | 433 | .poll = fanotify_poll, |
432 | .read = fanotify_read, | 434 | .read = fanotify_read, |
433 | .write = fanotify_write, | 435 | .write = fanotify_write, |