Btrfs: introduce btrfs_show_options
authorEric Paris <eparis@redhat.com>
Thu, 2 Apr 2009 20:46:06 +0000 (16:46 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 2 Apr 2009 20:46:06 +0000 (16:46 -0400)
commita9572a15a854bd40453a6b7b4dd9d29132f64c64
tree36eb4ee3be45a4d622da2f103e571894a60c3c13
parentfa9c0d795f7b57c76560b7fac703f5d341210e28
Btrfs: introduce btrfs_show_options

btrfs options can change at times other than mount, yet /proc/mounts shows the
options string used when the fs was mounted (an example would be when btrfs
determines that barriers aren't useful and turns them off.)  This patch
instead outputs the actual options in use by btrfs.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/super.c