]> 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)
commit1a90b220df7617c7c3841f50d40d2ffcee809316
tree8a8e2f4de870c73174b9720d25f69e4ad5f27608
parent15c35a65709c6bc2c5d7d39b3e7f62ca777ada58
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