Reverted setting archive flag on unlinking (only Windows Explorer does it)

N2009_11_14_FIXES
jpandre 2009-07-09 12:28:04 +00:00
parent 8af1460957
commit 78285e42b4
1 changed files with 0 additions and 3 deletions

View File

@ -1682,7 +1682,6 @@ static int ntfs_fuse_rm(const char *org_path)
|| ntfs_allowed_dir_access(&security, org_path,
S_IEXEC + S_IWRITE + S_ISVTX)) {
#endif
set_archive(ni); /* even if deletion fails ! */
if (ntfs_delete(ctx->vol, org_path, ni, dir_ni,
uname, uname_len))
res = -errno;
@ -1714,8 +1713,6 @@ static int ntfs_fuse_rm_stream(const char *path, ntfschar *stream_name,
if (ntfs_attr_remove(ni, AT_DATA, stream_name, stream_name_len))
res = -errno;
else
set_archive(ni);
if (ntfs_inode_close(ni))
set_fuse_error(&res);