[PATCH v2 0/2] fs/ext4: mballoc.c: silence two UBSAN reports

From: Nicolai Stange
Date: Sat Mar 19 2016 - 17:12:27 EST

v1 can be found here:


Unfortunately, I failed to recognize that the very same issue fixed by v1
appears again at another place in fs/ext4/mballoc.c.

Hence a v2 with the [2/2] addressing that second occurence.

Applicable to linux-next-20160318.

Changes to v1:

[1/2] ("fs/ext4: mb_find_order_for_block(): silence UBSAN")
- corrected GCC version from 4.6.0 to 6.0.0 in commit message

[2/2] ("fs/ext4: ext4_mb_init(): silence UBSAN")
- new.

Nicolai Stange (2):
fs/ext4: mb_find_order_for_block(): silence UBSAN
fs/ext4: ext4_mb_init(): silence UBSAN

fs/ext4/mballoc.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)