The following patch is against Josef's btrfs-next repository,
and depends on Arnd Hannemann's patch:
"Btrfs: allow mount -o remount,compress=no"

The method was based on a previous example of checking for
lzo INCOMPAT used by Li Zefan when defragmenting with explicit
compression ("btrfs: Allow to specify compress method when defrag")
in ioctl.c.

Based on feedback on IRC, the two patch version presented in the
previous version has been consolidated into a single patch, and
the helper function was converted to a static inline function.

Mitch Harder (1):
  Btrfs: Check INCOMPAT flags on remount and add helper function

 fs/btrfs/ctree.h |   13 +++++++++++++
 fs/btrfs/ioctl.c |    7 +------
 fs/btrfs/super.c |    1 +
 3 files changed, 15 insertions(+), 6 deletions(-)

-- 
1.7.8.6

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to