]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/btrfs/ioctl.c
Btrfs: Check INCOMPAT flags on remount and add helper function
authorMitch Harder <mitch.harder@sabayonlinux.org>
Tue, 24 Jul 2012 17:58:43 +0000 (11:58 -0600)
committerChris Mason <chris.mason@fusionio.com>
Wed, 25 Jul 2012 20:14:31 +0000 (16:14 -0400)
commit2b0ce2c2909368d124a78a88e5c7106fdcba6221
tree8a8e2f4de870c73174b9720d25f69e4ad5f27608
parentb478b2baa37ac99fc04a30809c780dd5dfd43595
Btrfs: Check INCOMPAT flags on remount and add helper function

In support of the recently added capability to remount with lzo
compression, provide a helper function to check the compression
INCOMPAT flags when remounting with lzo compression, and set
the flags if necessary.

Also, implement the new helper function when defragmenting with
explicit lzo compression and when setting the default subvolume.

Signed-off-by: Mitch Harder <mitch.harder@sabayonlinux.org>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/ctree.h
fs/btrfs/ioctl.c
fs/btrfs/super.c