summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/inode.c
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2023-10-02 16:09:35 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2023-10-04 16:53:36 -0700
commitd7e9a9037de27b642d5a3edef7c69e2a2b460287 (patch)
treee752a1d80d82b4ddd71932f338ad42dc41467aa0 /fs/f2fs/inode.c
parent4ed33e69e136e7b295ff69449853beac605e8502 (diff)
downloadlinux-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/inode.c')
-rw-r--r--fs/f2fs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/inode.c b/fs/f2fs/inode.c
index cde243840abd..cafb81588359 100644
--- a/fs/f2fs/inode.c
+++ b/fs/f2fs/inode.c
@@ -315,7 +315,7 @@ static bool sanity_check_inode(struct inode *inode, struct page *node_page)
f2fs_has_inline_xattr(inode) &&
(!fi->i_inline_xattr_size ||
fi->i_inline_xattr_size > MAX_INLINE_XATTR_SIZE)) {
- f2fs_warn(sbi, "%s: inode (ino=%lx) has corrupted i_inline_xattr_size: %d, max: %zu",
+ f2fs_warn(sbi, "%s: inode (ino=%lx) has corrupted i_inline_xattr_size: %d, max: %lu",
__func__, inode->i_ino, fi->i_inline_xattr_size,
MAX_INLINE_XATTR_SIZE);
return false;