13a58c41ad
In function spdk_fs_file_stat_async, the stat.size = f->append_pos >= f->length ? f->append_pos : f->length; but in spdk_file_get_length, we return f->length. So generally, it should all use the same method to return the file length, and this patch will fix this issue. Change-Id: Idb9aa9e737711fcd48ac0075c7f7ffed825fe3b0 Signed-off-by: Ziye Yang <optimistyzy@gmail.com> Reviewed-on: https://review.gerrithub.io/c/439627 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
blobfs_internal.h | ||
blobfs.c | ||
Makefile | ||
tree.c | ||
tree.h |