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:
Gui Hecheng 2017-05-16 16:05:35 +08:00
parent 404cee744f
commit 7720bca22e

View File

@ -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;
}