mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] befs: Allow file sizes beyond 2GiB
@ 2019-02-01 13:49 Axel Dörfler
  0 siblings, 0 replies; only message in thread
From: Axel Dörfler @ 2019-02-01 13:49 UTC (permalink / raw)
  To: Luis de Bethencourt, Salah Triki, linux-kernel; +Cc: Axel Dörfler

Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
---
 fs/befs/linuxvfs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c
index a92355cc4..4113d8250 100644
--- a/fs/befs/linuxvfs.c
+++ b/fs/befs/linuxvfs.c
@@ -899,6 +899,7 @@ befs_fill_super(struct super_block *sb, void *data, int silent)
 	sb->s_magic = BEFS_SUPER_MAGIC;
 	/* Set real blocksize of fs */
 	sb_set_blocksize(sb, (ulong) befs_sb->block_size);
+	sb->s_maxbytes = MAX_LFS_FILESIZE;
 	sb->s_op = &befs_sops;
 	sb->s_export_op = &befs_export_operations;
 	root = befs_iget(sb, iaddr2blockno(sb, &(befs_sb->root_dir)));
-- 
2.17.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-02-01 13:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-01 13:49 [PATCH] befs: Allow file sizes beyond 2GiB Axel Dörfler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome