]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d357e599bb8131bd1b4a9dfb31fc5ca1ffd831c
tree8a8e2f4de870c73174b9720d25f69e4ad5f27608
parent91c5ef5c71d29b477739e73c25df2a9e37d3191a
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