linux/fs/ufs
Agathe Porte 6cfe56fbad ufs: ufs_sb_private_info: remove unused s_{2,3}apb fields
These two fields are populated and stored as a "frequently used value"
in ufs_fill_super, but are not used afterwards in the driver.

Moreover, one of the shifts triggers UBSAN: shift-out-of-bounds when
apbshift is 12 because 12 * 3 = 36 and 1 << 36 does not fit in the 32
bit integer used to store the value.

Closes: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2087853
Signed-off-by: Agathe Porte <agathe.porte@canonical.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2024-11-12 19:02:12 -05:00
..
balloc.c ufs: Convert ufs_change_blocknr() to take a folio 2024-10-18 17:35:31 -04:00
cylinder.c ufs: fix ufs_read_cylinder() failure handling 2024-10-18 17:35:31 -04:00
dir.c ufs: fix handling of delete_entry and set_link failures 2024-10-18 17:35:30 -04:00
file.c ufs: missing ->splice_write() 2024-10-18 17:35:31 -04:00
ialloc.c ufs: convert to new timestamp accessors 2023-10-18 14:08:28 +02:00
inode.c ufs: Pass a folio to ufs_new_fragments() 2024-10-18 17:35:31 -04:00
Kconfig fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
namei.c ufs: fix handling of delete_entry and set_link failures 2024-10-18 17:35:30 -04:00
super.c ufs: ufs_sb_private_info: remove unused s_{2,3}apb fields 2024-11-12 19:02:12 -05:00
swab.h
ufs_fs.h ufs: ufs_sb_private_info: remove unused s_{2,3}apb fields 2024-11-12 19:02:12 -05:00
ufs.h ufs: Pass a folio to ufs_new_fragments() 2024-10-18 17:35:31 -04:00
util.c ufs: get rid of ubh_{ubhcpymem,memcpyubh}() 2024-10-18 17:35:31 -04:00
util.h ufs: get rid of ubh_{ubhcpymem,memcpyubh}() 2024-10-18 17:35:31 -04:00