summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/check-integrity.c
diff options
context:
space:
mode:
authorAndrei Popa <andrei.popa@i-neo.ro>2012-09-20 16:42:11 +0200
committerChris Mason <chris.mason@fusionio.com>2012-10-09 15:20:03 +0200
commitbedb2cca7252d08c6ca3085826e30f65bdc3b54b (patch)
treec4ce295d803c5f862c678a2ee504dbedbfe95a6e /fs/btrfs/check-integrity.c
parentbtrfs: fix message printing (diff)
downloadlinux-bedb2cca7252d08c6ca3085826e30f65bdc3b54b.tar.xz
linux-bedb2cca7252d08c6ca3085826e30f65bdc3b54b.zip
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 <andrei.popa@i-neo.ro>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions