diff options
author | Daniel Rosenberg <drosen@google.com> | 2023-10-02 16:09:35 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2023-10-04 16:53:36 -0700 |
commit | d7e9a9037de27b642d5a3edef7c69e2a2b460287 (patch) | |
tree | e752a1d80d82b4ddd71932f338ad42dc41467aa0 /fs/f2fs/data.c | |
parent | 4ed33e69e136e7b295ff69449853beac605e8502 (diff) | |
download | linux-d7e9a9037de27b642d5a3edef7c69e2a2b460287.tar.gz linux-d7e9a9037de27b642d5a3edef7c69e2a2b460287.tar.bz2 linux-d7e9a9037de27b642d5a3edef7c69e2a2b460287.zip |
f2fs: Support Block Size == Page Size
This allows f2fs to support cases where the block size = page size for
both 4K and 16K block sizes. Other sizes should work as well, should the
need arise. This does not currently support 4K Block size filesystems if
the page size is 16K.
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/data.c')
-rw-r--r-- | fs/f2fs/data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 96342aba8022..4e42b5f24deb 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -4076,7 +4076,7 @@ next: sis->highest_bit = cur_lblock - 1; out: if (not_aligned) - f2fs_warn(sbi, "Swapfile (%u) is not align to section: 1) creat(), 2) ioctl(F2FS_IOC_SET_PIN_FILE), 3) fallocate(%u * N)", + f2fs_warn(sbi, "Swapfile (%u) is not align to section: 1) creat(), 2) ioctl(F2FS_IOC_SET_PIN_FILE), 3) fallocate(%lu * N)", not_aligned, blks_per_sec * F2FS_BLKSIZE); return ret; } |