X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fmount_image.c;h=a83c6ba239552ca7f6ada629236073c65668d247;hp=a2e09b435e43a60a72db289e0839c747315ceeaa;hb=701d2adb1891b0cd4204ff91dca3571d906188b7;hpb=c354fe6c159dec97bf955a0ab6ee35a868fc9719;ds=sidebyside diff --git a/src/mount_image.c b/src/mount_image.c index a2e09b43..a83c6ba2 100644 --- a/src/mount_image.c +++ b/src/mount_image.c @@ -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 */