]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/installer/hw.c
installer: Define common mount options for BTRFS volumes
[ipfire-2.x.git] / src / installer / hw.c
index 8ee6c57269a829e0320135a82895a54e25f59065..5665cb9552d1c9e39fd5afacd9de74f1b3683f4e 100644 (file)
@@ -1053,7 +1053,7 @@ int hw_mount_btrfs_subvolumes(const char* source) {
                }
 
                // Assign subvolume name.
-               r = snprintf(options, sizeof(options), "subvol=%s,", subvolume->name);
+               r = snprintf(options, sizeof(options), "subvol=%s,%s", subvolume->name, BTRFS_MOUNT_OPTIONS);
                if (r < 0) {
                        return r;
                }