summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorHanhui <hanhui@acoinfo.com>2021-03-01 08:15:52 (GMT)
committer Hanhui <hanhui@acoinfo.com>2021-03-01 08:15:52 (GMT)
commit23e9e180c8a5d2ea1eef78a25aaa804be0ab314a (patch)
treefde3db21b9881c3d2c411ed95a589b8f80298e2a
parente03afb282ddf81dc0a92595ca5d514cc333bbee6 (diff)
downloadlibsylixos-master.zip
libsylixos-master.tar.gz
libsylixos-master.tar.bz2
Fixed tpsFs remove file error.HEADmaster
-rw-r--r--SylixOS/fs/tpsFs/tpsfs_inode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/SylixOS/fs/tpsFs/tpsfs_inode.c b/SylixOS/fs/tpsFs/tpsfs_inode.c
index 36d6355..81a4f90 100644
--- a/SylixOS/fs/tpsFs/tpsfs_inode.c
+++ b/SylixOS/fs/tpsFs/tpsfs_inode.c
@@ -611,7 +611,6 @@ TPS_RESULT tpsFsInodeDelRef (PTPS_TRANS ptrans, PTPS_INODE pinode)
ppinodeIter = &((*ppinodeIter)->IND_pnext);
}
- pinode->IND_uiMagic = 0; /* 无效掩码防止操作已删除文件 */
pinode->IND_bDeleted = LW_TRUE;
}