d9d6a47b24
BugLink: https://bugs.launchpad.net/bugs/2087853 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> (cherry picked from commit 6cfe56fbad32c8c5b50e82d9109413566d691569) Signed-off-by: Agathe Porte <agathe.porte@canonical.com> Acked-by: Stefan Bader <stefan.bader@canonical.com> Acked-by: Manuel Diewald <manuel.diewald@canonical.com> Signed-off-by: Stefan Bader <stefan.bader@canonical.com>