+101
−23
Loading
Mark the file as deleted in the function spdk_fs_delete_file() when the referance is not 0, and delete the file when it is closed, make the behaviour as "unlink". Change-Id: Ia934bb73c82c48fdbab79dbe4b56296a73abc01e Signed-off-by:Cunyin Chang <cunyin.chang@intel.com> Reviewed-on: https://review.gerrithub.io/374944 Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Daniel Verkamp <daniel.verkamp@intel.com>