In dmesg we see messages from place_r2():
dm-qcow2: dm-44846: Can't alloc: ret=-17, page_id=4294967296
It tries to insert the page at 16TB offset to qcow2->md_pages rb-tree
and fails, as index is put to (unsigned int) which overflows to 0, and 0
page is already there.
Let's switch the type of
Pass the pointer of pcs_rpc instance from caller because msg->rpc
could be NULL when the msg is still in the input_queue.
Signed-off-by: Liu Kui
---
fs/fuse/kio/pcs/pcs_krpc.c | 4 ++--
fs/fuse/kio/pcs/pcs_rpc.c | 5 +
fs/fuse/kio/pcs/pcs_rpc.h | 2 +-
3 files changed, 4 insertions(+), 7 d