f2fs: fix to handle F2FS_IOC_START_ATOMIC_REPLACE in f2fs_compat_ioctl()
authorChao Yu <chao@kernel.org>
Sat, 28 Jan 2023 10:32:26 +0000 (18:32 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 2 Feb 2023 21:37:17 +0000 (13:37 -0800)
commit933141e4eb49d8b48721e2377835063a1e8fb823
treec7ef355e45180cb7d787cd8d804e01ef313f3d1c
parentb90e5086df6bf5ba819216d5ecf0667370bd565f
f2fs: fix to handle F2FS_IOC_START_ATOMIC_REPLACE in f2fs_compat_ioctl()

Otherwise, 32-bits binary call ioctl(F2FS_IOC_START_ATOMIC_REPLACE) will
fail in 64-bits kernel.

Fixes: 41e8f85a75fc ("f2fs: introduce F2FS_IOC_START_ATOMIC_REPLACE")
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c