llseek: automatically add .llseek fop
[sfrench/cifs-2.6.git] / fs / notify / fanotify / fanotify_user.c
index 5ed8e58d7bfc316f44c056e6208c3787dbc5f445..bbcb98e7fcc611d692e9d85c4c74dd742d417507 100644 (file)
@@ -433,6 +433,7 @@ static const struct file_operations fanotify_fops = {
        .release        = fanotify_release,
        .unlocked_ioctl = fanotify_ioctl,
        .compat_ioctl   = fanotify_ioctl,
+       .llseek         = noop_llseek,
 };
 
 static void fanotify_free_mark(struct fsnotify_mark *fsn_mark)