]> wimlib.net Git - wimlib/blobdiff - src/mount_image.c
implement WIMLIB_INIT_FLAG_ASSUME_UTF8
[wimlib] / src / mount_image.c
index a2e09b435e43a60a72db289e0839c747315ceeaa..a83c6ba239552ca7f6ada629236073c65668d247 100644 (file)
@@ -2559,10 +2559,8 @@ wimlib_mount_image(WIMStruct *wim, int image, const char *dir,
 #endif
 
        /* Mark dentry tree as modified if read-write mount. */
-       if (mount_flags & WIMLIB_MOUNT_FLAG_READWRITE) {
+       if (mount_flags & WIMLIB_MOUNT_FLAG_READWRITE)
                imd->modified = 1;
-               imd->has_been_mounted_rw = 1;
-       }
 
        /* Resolve the lookup table entries for every inode in the image, and
         * assign inode numbers */