From: Andrei Popa Date: Thu, 20 Sep 2012 14:42:11 +0000 (-0600) Subject: Btrfs: make compress and nodatacow mount options mutually exclusive X-Git-Tag: v3.7-rc1~71^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bedb2cca7252d08c6ca3085826e30f65bdc3b54b;p=pandora-kernel.git Btrfs: make compress and nodatacow mount options mutually exclusive If a filesystem is mounted with compression and then remounted by adding nodatacow, the compression is disabled but the compress flag is still visible. Also, if a filesystem is mounted with nodatacow and then remounted with compression, nodatacow flag is still present but it's not active. This patch: - removes compress flags and notifies that the compression has been disabled if the filesystem is mounted with nodatacow - removes nodatacow and nodatasum flags if mounted with compress. Signed-off-by: Andrei Popa --- Reading git-diff-tree failed