[PATCH] brd: fix integer overflow in brd_check_and_reset_par

2021-03-25 Thread lixiaokeng
disk Actual result NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT ram0 259:00 100M 0 disk ram1 259:10 100M 0 disk ram2 259:20 100M 0 disk Fix it. Signed-off-by: Lixiaokeng Signed-off-by: Zhiqiang Liu --- drivers/block/brd.c | 8

Re: md/dm-mpath: check whether all pgpaths have same uuid in multipath_ctr()

2021-03-23 Thread lixiaokeng
another >>> multipath which has different uuid. Finally, the metadata err >>> occurs when umounting filesystem to down write metadata on >>> the iscsi device which is actually not owned by the multipath >>> device. >>> >>> So we need to