erofs-utils: avoid the potentially wrong m_plen for big pcluster
authorYue Hu <huyue2@coolpad.com>
Mon, 31 Oct 2022 02:26:53 +0000 (10:26 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Mon, 31 Oct 2022 14:05:27 +0000 (22:05 +0800)
commit04644826deb29a05244f71c12ef2a45c1621c7ed
tree77fff68fd21db30b0e1835af47e38a601b699c40
parentc47ad367961f29a9e5574a808a998308d2256c49
erofs-utils: avoid the potentially wrong m_plen for big pcluster

Keep in sync with the kernel commit 0d53d2e882f9 ("erofs: avoid the
potentially wrong m_plen for big pcluster").

Signed-off-by: Yue Hu <huyue2@coolpad.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20221031022653.14981-1-zbestahu@gmail.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
lib/zmap.c