summaryrefslogtreecommitdiffstats
path: root/fs/hfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/hfs')
-rw-r--r--fs/hfs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/hfs/super.c b/fs/hfs/super.c
index a39710f09..a88a705a5 100644
--- a/fs/hfs/super.c
+++ b/fs/hfs/super.c
@@ -436,6 +436,7 @@ struct super_block *hfs_read_super(struct super_block *s, void *data,
goto bail1;
}
+ s->s_maxbytes = MAX_NON_LFS;
s->s_magic = HFS_SUPER_MAGIC;
s->s_blocksize_bits = HFS_SECTOR_SIZE_BITS;
s->s_blocksize = HFS_SECTOR_SIZE;