mirror of
https://github.com/ceph/ceph
synced 2025-01-20 18:21:57 +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);
|
RGWLibFS *fs = static_cast<RGWLibFS*>(rgw_fs->fs_private);
|
||||||
fs->close();
|
fs->close();
|
||||||
fs->rele();
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user