aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r--fs/f2fs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index 70ecf484e7e5..13d0a0fe49dd 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -618,7 +618,7 @@ static const struct export_operations f2fs_export_ops = {
618 618
619static loff_t max_file_size(unsigned bits) 619static loff_t max_file_size(unsigned bits)
620{ 620{
621 loff_t result = ADDRS_PER_INODE; 621 loff_t result = (DEF_ADDRS_PER_INODE - F2FS_INLINE_XATTR_ADDRS);
622 loff_t leaf_count = ADDRS_PER_BLOCK; 622 loff_t leaf_count = ADDRS_PER_BLOCK;
623 623
624 /* two direct node blocks */ 624 /* two direct node blocks */