Btrfs: Add a new ioctl to get the label of a mounted file system
authorjeff.liu <jeff.liu@oracle.com>
Sat, 5 Jan 2013 02:48:01 +0000 (02:48 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 20 Feb 2013 17:59:58 +0000 (12:59 -0500)
commit867ab667e74377160c4a683375ee5b8bf8801724
tree9473c309f58be6efd176f09417358ea42a4f8db4
parent569e0f358c0c37f6733702d4a5d2c412860f7169
Btrfs: Add a new ioctl to get the label of a mounted file system

Add a new ioctl(2) BTRFS_IOC_GET_FSLABLE, so that we can get the label upon a mounted filesystem.

Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Cc: Miao Xie <miaox@cn.fujitsu.com>
Cc: Goffredo Baroncelli <kreijack@inwind.it>
Cc: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/ioctl.c
include/uapi/linux/btrfs.h