This repository has been archived by the owner on May 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CORTX-33586: ctgdump is crashing after new btree merge (#1974)
Issue: - ctg_open() is responsible for allocating tree pointer and opening the btree. This was missing before accessing the catalogue tree in the ctgdump(). Fix: - Added ctg_open() call before accessing tree pointer. - Added m0_btree_close() to close tree in ctg_fini(). - Fix for ctg_fini() might get called on null tree reference. Signed-off-by: Kanchan Chaudhari <kanchan.chaudhari@seagate.com>
- Loading branch information
1 parent
2730e68
commit 65bcdcb
Showing
2 changed files
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters