aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHao Ge <[email protected]>2023-04-24 13:18:35 +0800
committerChristian Brauner <[email protected]>2023-05-17 15:25:18 +0200
commitf15afbd34d8fadbd375f1212e97837e32bc170cc (patch)
tree49005bffe38ef81d5b4b297240e0e3de1d76bed1 /tools/perf/scripts/python
parentf1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6 (diff)
fs: fix undefined behavior in bit shift for SB_NOUSER
Shifting signed 32-bit value by 31 bits is undefined, so changing significant bit to unsigned. It was spotted by UBSAN. So let's just fix this by using the BIT() helper for all SB_* flags. Fixes: e462ec50cb5f ("VFS: Differentiate mount flags (MS_*) from internal superblock flags") Signed-off-by: Hao Ge <[email protected]> Message-Id: <[email protected]> [[email protected]: use BIT() for all SB_* flags] Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions