]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-fuse: perform cleanup if test_dentry_handling failed 45351/head
authorNikhilkumar Shelke <nshelke@redhat.com>
Wed, 2 Feb 2022 11:51:46 +0000 (17:21 +0530)
committerNikhilkumar Shelke <nshelke@redhat.com>
Fri, 11 Mar 2022 10:11:12 +0000 (15:41 +0530)
commit7fd3c177d457fa8096ed7ceb0886a0d597d0d30a
treeb8907a338ba5071489c212704d54dc4290dc740a
parentf8a89647ef43928dc16626e046c1ecc116744b4f
ceph-fuse: perform cleanup if test_dentry_handling failed

If remount failed due to some reason then ceph_abort() is
getting called which causes child process termination
without cleanup.
To fix this issue, ceph_abort() call moved after
performing cleanup.

Fixes: https://tracker.ceph.com/issues/54049
Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com>
(cherry picked from commit 8c778e79840f1aa9b9731e2ef20881da0d122fda)

 Conflicts:
src/client/Client.cc
src/client/Client.h
src/ceph_fuse.cc
src/client/Client.cc
src/client/Client.h