vfs_ceph_release_fh() was called explicitly then again via the FSP
extension destructor triggered by vfs_ceph_remove_fh(). Drop the
explicit call and let the destructor handle cleanup.
Signed-off-by: Shweta Sodani <ssodani@redhat.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Tue Apr 21 22:18:42 UTC 2026 on atb-devel-224
START_PROFILE_X(SNUM(handle->conn), syscall_closedir);
DBG_DEBUG("[CEPH] closedir: dirp=%p\n", dirp);
result = vfs_ceph_ll_releasedir(handle, cfh);
- vfs_ceph_release_fh(cfh);
vfs_ceph_remove_fh(handle, cfh->fsp);
DBG_DEBUG("[CEPH] closedir: dirp=%p result=%d\n", dirp, result);
END_PROFILE_X(syscall_closedir);