ntfs-3g/ntfsprogs
Erik Larsson 6b513b1c55 Replaced references to NVolSetWasDirty with appropriate substitutions.
libntfs (unlike libntfs-3g) sets the volume dirty bit automatically on ntfs_mount (if not already set) and also automatically clears the volume dirty bit on ntfs_umount (if it was not already set before mount). The 'WasDirty' flag is set to indicate that the volume was already dirty when it was mounted, so setting it means bypassing the 'clear dirty flag' behaviour on unmount (it does not mean 'set dirty flag on unmount').

NVolSetWasDirty is accordingly replaced with the actions that were intended:
- If the intention was to leave the dirty bit set on unmount, we explicitly set the bit if it is not already set.
- If the intention was to simply update the 'WasDirty' bit to be consistent with earlier changes, we just comment out the statement.
2010-12-02 22:34:45 +01:00
..
.cvsignore - mkntfs: Generate a random DCE compliant UUID for the created volume 2006-12-13 00:11:50 +00:00
Makefile.am Merge commit 'v2_0_0' into libntfs-3g_port-v2_0_0 2010-12-02 22:31:21 +01:00
attrdef.c Update version to 2.0.0, update NEWS, update mkntfs man page and mkntfs itself. 2006-12-13 10:46:49 +00:00
attrdef.h Update version to 2.0.0, update NEWS, update mkntfs man page and mkntfs itself. 2006-12-13 10:46:49 +00:00
boot.c - mkntfs: Use Vista $Boot rather than XP one. (Anton) 2007-03-06 15:44:30 +00:00
boot.h - mkntfs: Use Vista $Boot rather than XP one. (Anton) 2007-03-06 15:44:30 +00:00
cluster.c Updated all includes in the basic ntfsprogs utilities for libntfs-3g. 2010-12-02 15:57:58 +01:00
cluster.h Updated all includes in the basic ntfsprogs utilities for libntfs-3g. 2010-12-02 15:57:58 +01:00
mkntfs.8.in Update version to 2.0.0, update NEWS, update mkntfs man page and mkntfs itself. 2006-12-13 10:46:49 +00:00
mkntfs.c Added 'misc.h' as an include to some source files because of missing ntfs_malloc / ntfs_calloc signatures. 2010-12-02 22:31:56 +01:00
ntfscat.8.in Add man-page for libntfs 2007-09-26 22:41:28 +03:00
ntfscat.c Merge commit 'v2_0_0' into libntfs-3g_port-v2_0_0 2010-12-02 22:31:21 +01:00
ntfscat.h Merge commit 'v2_0_0' into libntfs-3g_port-v2_0_0 2010-12-02 22:31:21 +01:00
ntfsck.c Added 'misc.h' as an include to some source files because of missing ntfs_malloc / ntfs_calloc signatures. 2010-12-02 22:31:56 +01:00
ntfsclone.8.in Add a section about windows cloning 2006-02-18 20:36:33 +00:00
ntfsclone.c Replaced all occurrences of the libntfs-specific NVolWasDirty macro with a test for the VOLUME_IS_DIRTY flag in vol->flags. 2010-12-02 22:34:35 +01:00
ntfscluster.8.in Shorten 'ntfsprogs version @VERSION@' to only 'ntfsprogs @VERSION@' in the 2006-02-06 01:05:01 +00:00
ntfscluster.c Merge commit 'v2_0_0' into libntfs-3g_port-v2_0_0 2010-12-02 22:31:21 +01:00
ntfscluster.h Merge commit 'v2_0_0' into libntfs-3g_port-v2_0_0 2010-12-02 22:31:21 +01:00
ntfscmp.8.in Fix typos 2006-04-11 22:46:09 +00:00
ntfscmp.c Added 'misc.h' as an include to some source files because of missing ntfs_malloc / ntfs_calloc signatures. 2010-12-02 22:31:56 +01:00
ntfscp.8.in ntfscp docs update 2007-09-24 21:58:02 +03:00
ntfscp.c Replaced all occurrences of the libntfs-specific NVolWasDirty macro with a test for the VOLUME_IS_DIRTY flag in vol->flags. 2010-12-02 22:34:35 +01:00
ntfsdecrypt.c Merge commit 'v2_0_0' into libntfs-3g_port-v2_0_0 2010-12-02 22:31:21 +01:00
ntfsdump_logfile.c Merge commit 'v2_0_0' into libntfs-3g_port-v2_0_0 2010-12-02 22:31:21 +01:00
ntfsfix.8.in Szaka prefers to have the lofgile reset and dirty bit setting done even if they 2006-12-11 10:41:34 +00:00
ntfsfix.c Replaced references to NVolSetWasDirty with appropriate substitutions. 2010-12-02 22:34:45 +01:00
ntfsinfo.8.in Fix bogus reference to ntfsundelete 2006-04-05 02:59:12 +00:00
ntfsinfo.c Added 'misc.h' as an include to some source files because of missing ntfs_malloc / ntfs_calloc signatures. 2010-12-02 22:31:56 +01:00
ntfslabel.8.in Shorten 'ntfsprogs version @VERSION@' to only 'ntfsprogs @VERSION@' in the 2006-02-06 01:05:01 +00:00
ntfslabel.c Merge commit 'v2_0_0' into libntfs-3g_port-v2_0_0 2010-12-02 22:31:21 +01:00
ntfsls.8.in Shorten 'ntfsprogs version @VERSION@' to only 'ntfsprogs @VERSION@' in the 2006-02-06 01:05:01 +00:00
ntfsls.c Merge commit 'v2_0_0' into libntfs-3g_port-v2_0_0 2010-12-02 22:31:21 +01:00
ntfsmftalloc.c Merge commit 'v2_0_0' into libntfs-3g_port-v2_0_0 2010-12-02 22:31:21 +01:00
ntfsmove.c Replaced references to NVolSetWasDirty with appropriate substitutions. 2010-12-02 22:34:45 +01:00
ntfsmove.h Merge commit 'v2_0_0' into libntfs-3g_port-v2_0_0 2010-12-02 22:31:21 +01:00
ntfsprogs.8.in Merge commit 'v2_0_0' into libntfs-3g_port-v2_0_0 2010-12-02 22:31:21 +01:00
ntfsresize.8.in Update credit 2006-02-12 01:30:34 +00:00
ntfsresize.c Replaced references to NVolSetWasDirty with appropriate substitutions. 2010-12-02 22:34:45 +01:00
ntfsrm.c Merge commit 'v2_0_0' into libntfs-3g_port-v2_0_0 2010-12-02 22:31:21 +01:00
ntfsrm.h ntfsrm has been split up and merged into libntfs. 2005-10-16 23:33:03 +00:00
ntfstruncate.c Merge commit 'v2_0_0' into libntfs-3g_port-v2_0_0 2010-12-02 22:31:21 +01:00
ntfsundelete.8.in Shorten 'ntfsprogs version @VERSION@' to only 'ntfsprogs @VERSION@' in the 2006-02-06 01:05:01 +00:00
ntfsundelete.c Merge commit 'v2_0_0' into libntfs-3g_port-v2_0_0 2010-12-02 22:31:21 +01:00
ntfsundelete.h Merge commit 'v2_0_0' into libntfs-3g_port-v2_0_0 2010-12-02 22:31:21 +01:00
ntfswipe.c Replaced all occurrences of the libntfs-specific NVolWasDirty macro with a test for the VOLUME_IS_DIRTY flag in vol->flags. 2010-12-02 22:34:35 +01:00
ntfswipe.h Redirected all libntfs includes in the 'extra' utilities to libntfs-3g. 2010-12-02 16:47:06 +01:00
sd.c Merge commit 'v2_0_0' into libntfs-3g_port-v2_0_0 2010-12-02 22:31:21 +01:00
sd.h Merge commit 'v2_0_0' into libntfs-3g_port-v2_0_0 2010-12-02 22:31:21 +01:00
utils.c Replaced all occurrences of the libntfs-specific NVolWasDirty macro with a test for the VOLUME_IS_DIRTY flag in vol->flags. 2010-12-02 22:34:35 +01:00
utils.h utils.h: Added ntfs_attr_get_name, a simple inline function from libntfs that was referenced in the ntfsprogs code. 2010-12-02 22:34:00 +01:00