Btrfs: set/change the label of a mounted file system
authorjeff.liu <jeff.liu@oracle.com>
Sat, 5 Jan 2013 02:48:08 +0000 (02:48 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 20 Feb 2013 17:59:59 +0000 (12:59 -0500)
commita8bfd4abea3da0e28f215e2a2b8c2f1ca27ebe80
tree949b78c187f77101b366ca3f189ea25e3d20c870
parent867ab667e74377160c4a683375ee5b8bf8801724
Btrfs: set/change the label of a mounted file system

With this new ioctl(2) BTRFS_IOC_SET_FSLABEL, we can set/change the label of a mounted file system.

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