diff options
author | 2025-05-06 09:20:09 +0800 | |
---|---|---|
committer | 2025-05-20 10:31:06 -0400 | |
commit | 1a77a028a392fab66dd637cdfac3f888450d00af (patch) | |
tree | cb82b4f16f9e1a11f3148cede77eb4a22071f095 /scripts/lib/kdoc/kdoc_output.py | |
parent | ext4: factor out ext4_get_maxbytes() (diff) | |
download | wireguard-linux-1a77a028a392fab66dd637cdfac3f888450d00af.tar.xz wireguard-linux-1a77a028a392fab66dd637cdfac3f888450d00af.zip |
ext4: ensure i_size is smaller than maxbytes
The inode i_size cannot be larger than maxbytes, check it while loading
inode from the disk.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Baokun Li <libaokun1@huawei.com>
Link: https://patch.msgid.link/20250506012009.3896990-4-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions