ceph: call netfs_subreq_terminated with was_async == false
authorJeff Layton <jlayton@kernel.org>
Tue, 7 Jun 2022 17:06:14 +0000 (13:06 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 2 Aug 2022 22:54:12 +0000 (00:54 +0200)
commit7467b04418d929c64cbaf75fc8d54db73e2b64df
treefef77e62f5c09e1deeccaa227fe54fab7d2536b7
parente82145033547dac360bf20e960cf9adefc50b72d
ceph: call netfs_subreq_terminated with was_async == false

"was_async" is a bit misleadingly named. It's supposed to indicate
whether it's safe to call blocking operations from the context you're
calling it from, but it sounds like it's asking whether this was done
via async operation. For ceph, this it's always called from kernel
thread context so it should be safe to set this to false.

Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/addr.c