diff options
author | Jeff Layton <jlayton@kernel.org> | 2022-02-08 10:27:50 -0500 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2022-03-01 18:26:36 +0100 |
commit | 4d9513cf6d20f2977c791087cf4fd9cadb9d28e3 (patch) | |
tree | a864bf2ae0ff5a86d1c514373966fd2c058d73fb /lib/mpi/mpi-bit.c | |
parent | fbed7045f552db33f5f9e99ec40d55e6e0128b51 (diff) |
ceph: wake waiters after failed async create
Currently, we only wake the waiters if we got a req->r_target_inode
out of the reply. In the case where the create fails though, we may not
have one.
If there is a non-zero result from the create, then ensure that we wake
anything waiting on the inode after we shut it down.
URL: https://tracker.ceph.com/issues/54067
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions