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
Ack
On Tue, Sep 24, 2024 at 6:11 PM Liu Kui wrote:
>
> Set the error when a msg is cancelled, otherwise it could crash kernel
> when the cancelled msg has not been sent.
>
> Signed-off-by: Liu Kui
> ---
> fs/fuse/kio/pcs/pcs_rpc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/fs/fuse
Set the error when a msg is cancelled, otherwise it could crash kernel
when the cancelled msg has not been sent.
Signed-off-by: Liu Kui
---
fs/fuse/kio/pcs/pcs_rpc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/fuse/kio/pcs/pcs_rpc.c b/fs/fuse/kio/pcs/pcs_rpc.c
index 80bbffcb88a8..a4f3