diff options
author | Jeff Layton <jlayton@kernel.org> | 2022-06-07 01:31:42 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2022-06-29 18:02:57 +0200 |
commit | 8692969e9164c15474b356b9898e5b9b21a85643 (patch) | |
tree | a70d87c0da14e3f29c55961dc7c6840b52b5b277 /fs/afs/callback.c | |
parent | Linux 5.19-rc4 (diff) | |
download | linux-8692969e9164c15474b356b9898e5b9b21a85643.tar.xz linux-8692969e9164c15474b356b9898e5b9b21a85643.zip |
ceph: wait on async create before checking caps for syncfs
Currently, we'll call ceph_check_caps, but if we're still waiting
on the reply, we'll end up spinning around on the same inode in
flush_dirty_session_caps. Wait for the async create reply before
flushing caps.
Cc: stable@vger.kernel.org
URL: https://tracker.ceph.com/issues/55823
Fixes: fbed7045f552 ("ceph: wait for async create reply before sending any cap messages")
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 'fs/afs/callback.c')
0 files changed, 0 insertions, 0 deletions