From 78285e42b491ef28f6b3d9b82b571cb64bda6625 Mon Sep 17 00:00:00 2001 From: jpandre Date: Thu, 9 Jul 2009 12:28:04 +0000 Subject: [PATCH] Reverted setting archive flag on unlinking (only Windows Explorer does it) --- src/ntfs-3g.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ntfs-3g.c b/src/ntfs-3g.c index 77e535d3..584be82a 100644 --- a/src/ntfs-3g.c +++ b/src/ntfs-3g.c @@ -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);