diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index 15df014aadc7fc26e716302d4225bd85f81fbb9f..d4da7fec757d08a9040bb3ed087ef74c145a6a9c 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c @@ -1357,7 +1357,7 @@ static int f2fs_ioc_commit_atomic_write(struct file *filp) commit_inmem_pages(inode, false); } - ret = f2fs_sync_file(filp, 0, LONG_MAX, 0); + ret = f2fs_sync_file(filp, 0, LLONG_MAX, 0); mnt_drop_write_file(filp); return ret; }