btrfs: add ref-verify mount option
authorJosef Bacik <josef@toxicpanda.com>
Fri, 29 Sep 2017 19:43:48 +0000 (15:43 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 30 Oct 2017 11:28:00 +0000 (12:28 +0100)
commitfb592373cddeb4ed6c21eef4d6063f15176ab463
treedbfa3110091a813f04042206ec40fc7f06afe359
parent6273b7f8ed78d1acc3db6774b9ab07f04115f520
btrfs: add ref-verify mount option

This adds the infrastructure for turning ref verify on and off for a
mount, to be used by a later patch.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ enhnance btrfs_print_mod_info to print if ref-verify is compiled in ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/super.c