mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
rgw: avoid using null pointer in rgw_file.cc
When rgw_fh doesn't exist, we should not use rgw_fh->full_object_name(). Signed-off-by: lihongjie <lihongjie@cmss.chinamobile.com>
This commit is contained in:
parent
b43c180189
commit
4be4054d8f
@ -339,7 +339,7 @@ namespace rgw {
|
||||
if (! rgw_fh) {
|
||||
ldout(get_context(), 0) << __func__
|
||||
<< " BUG no such src renaming path="
|
||||
<< rgw_fh->full_object_name()
|
||||
<< src_name
|
||||
<< dendl;
|
||||
goto out;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user