-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rgw_sal_motr: [CORTX-27528] Fix object deletion. (#115)
MotrDeleteOp::delete_obj do not check or open mobj before trying to delete it,object deletion fails because of it. Fix: Open object by calling get_bucket_dir_ent() function in MotrDeleteOp::delete_obj(), it will do a lookup on object and initializes mobj if found. Signed-off-by: saurabh jain <saurabh.jain2@seagate.com>
- Loading branch information
Showing
1 changed file
with
15 additions
and
3 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