[Devel] [PATCH hci-8.2 8/8] ms/ext4: only update tune mount options when requested
no-reply at sashiko.virtuozzo.com
no-reply at sashiko.virtuozzo.com
Thu Nov 19 15:12:52 MSK 2026
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] ext4: author Signed-off-by uses handle 'guzebing', not a real
name
--
commit 1af8678230c46e9f378d9a3987c8a017aea68140
Author: guzebing <guzebing1612 at gmail.com>
> ms/ext4: only update tune mount options when requested
>
> EXT4_IOC_SET_TUNE_SB_PARAM uses set_flags to indicate which superblock
> fields the caller wants to update. ext4_sb_setparams() checks set_flags
> before updating the other supported fields, but always copied mount_opts
> into the on-disk s_mount_opts field.
>
> As a result, callers that do not set EXT4_TUNE_FL_MOUNT_OPTS can still
> clear or alter the on-disk default mount options through their unused
> mount_opts buffer. This can affect subsequent mounts by changing the
> filesystem's stored default mount options.
>
> Only copy mount_opts into s_mount_opts when EXT4_TUNE_FL_MOUNT_OPTS is set,
> matching the set_flags semantics used by the other tuneable superblock
> fields.
>
> Cc: stable at kernel.org
> Fixes: 04a91570ac67 ("ext4: implemet new ioctls to set and get superblock parameters")
> Signed-off-by: guzebing <guzebing1612 at gmail.com>
> Reviewed-by: "Darrick J. Wong" <djwong at kernel.org>
> Link: https://patch.msgid.link/20260810151200.1405562-1-guzebing1612@gmail.com
> Signed-off-by: Theodore Ts'o <tytso at mit.edu>
> (cherry picked from commit 981eec6c300bd4e84ffac8f3c28b762d00f13e9c)
>
> https://virtuozzo.atlassian.net/browse/VSTOR-155988
> Feature: fix ms/ext4
>
> Signed-off-by: Denis V. Lunev <den at openvz.org>
[Severity: High]
Is "guzebing" the author's real name? The Signed-off-by line uses what
looks like a handle matching the email local part, while the Developer's
Certificate of Origin expects a real identity. Since this is a cherry-pick
of 981eec6c300b, the author should confirm their real name so the trailer
can be corrected, or the line should be carried over exactly as upstream
has it.
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261119120325.792064-1-den@openvz.org?part=8
More information about the Devel
mailing list