mirror of
https://github.com/ceph/ceph
synced 2025-01-03 17:42:36 +00:00
rgw_file: fix extra rele on fs in close
We got exactly a refcnt=0 after rele in close, no need to rele twice. Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
This commit is contained in:
parent
404cee744f
commit
7720bca22e
@ -1419,7 +1419,6 @@ int rgw_umount(struct rgw_fs *rgw_fs, uint32_t flags)
|
||||
{
|
||||
RGWLibFS *fs = static_cast<RGWLibFS*>(rgw_fs->fs_private);
|
||||
fs->close();
|
||||
fs->rele();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user