close ioctx when ~InoGenerator

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
forget #endif

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>