From: "Axel Dörfler" <axeld@pinc-software.de>
To: Luis de Bethencourt <luisbg@kernel.org>,
Salah Triki <salah.triki@gmail.com>
Cc: Christian Brauner <brauner@kernel.org>,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 1/2] befs: Allow file sizes beyond 2GiB
Date: Mon, 2 Nov 2026 15:17:12 +0100 [thread overview]
Message-ID: <20261102141714.306719-2-axeld@pinc-software.de> (raw)
In-Reply-To: <20261102141714.306719-1-axeld@pinc-software.de>
This just enables LFS support in the VFS. The implementation already
supports large files.
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
---
Notes:
v2:
- Rebased onto v7.3; sb_set_blocksize() is now checked for failure, so
the assignment moved below the new error path.
fs/befs/linuxvfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c
index ee0cbae521b9..f715dd71a38c 100644
--- a/fs/befs/linuxvfs.c
+++ b/fs/befs/linuxvfs.c
@@ -862,6 +862,7 @@ befs_fill_super(struct super_block *sb, struct fs_context *fc)
/* Set real blocksize of fs */
if (!sb_set_blocksize(sb, (ulong) befs_sb->block_size))
goto unacquire_priv_sbp;
+ sb->s_maxbytes = MAX_LFS_FILESIZE;
sb->s_op = &befs_sops;
sb->s_export_op = &befs_export_operations;
sb->s_time_min = 0;
--
2.56.0
next prev parent reply other threads:[~2026-11-02 14:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-02 14:17 [PATCH v2 0/2] befs: Large file support and a superblock check fix Axel Dörfler
2026-11-02 14:17 ` Axel Dörfler [this message]
2026-11-02 14:17 ` [PATCH v2 2/2] befs: Fix allocation group consistency check Axel Dörfler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261102141714.306719-2-axeld@pinc-software.de \
--to=axeld@pinc-software.de \
--cc=brauner@kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luisbg@kernel.org \
--cc=salah.triki@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®