- fix building in btrfs VMs
authorAdrian Schröter <adrian@suse.de>
Mon, 30 Jul 2012 15:03:28 +0000 (17:03 +0200)
committerAdrian Schröter <adrian@suse.de>
Mon, 30 Jul 2012 15:03:28 +0000 (17:03 +0200)
build

diff --git a/build b/build
index 8850b11..0156f66 100755 (executable)
--- a/build
+++ b/build
@@ -1120,6 +1120,8 @@ fi
 if test "$VMDISK_MOUNT_OPTIONS" = __default; then
     if test "$VMDISK_FILESYSTEM" = reiserfs ; then
        VMDISK_MOUNT_OPTIONS='-o data=writeback,commit=150,noatime'
+    elif test "$VMDISK_FILESYSTEM" = btrfs ; then
+        VMDISK_MOUNT_OPTIONS='-o nobarrier,noatime'
     else
        VMDISK_MOUNT_OPTIONS='-o data=writeback,nobarrier,commit=150,noatime'
     fi