diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c index 12f686914d387f3fbc80e19537ea90b4e0bc6b0a..3e923763daca0c44af75600de599babaf6839bc2 100644 --- a/fs/f2fs/dir.c +++ b/fs/f2fs/dir.c @@ -879,4 +879,7 @@ const struct file_operations f2fs_dir_operations = { .iterate = f2fs_readdir, .fsync = f2fs_sync_file, .unlocked_ioctl = f2fs_ioctl, +#ifdef CONFIG_COMPAT + .compat_ioctl = f2fs_compat_ioctl, +#endif };