btrfs: uapi/linux/btrfs.h migration, move BTRFS_LABEL_SIZE
authorJeff Mahoney <jeffm@suse.com>
Fri, 1 Apr 2016 20:14:23 +0000 (16:14 -0400)
committerDavid Sterba <dsterba@suse.com>
Thu, 28 Apr 2016 09:06:41 +0000 (11:06 +0200)
BTRFS_LABEL_SIZE is required to define the BTRFS_IOC_GET_FSLABEL and
BTRFS_IOC_SET_FSLABEL ioctls.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
include/uapi/linux/btrfs.h

index 84a6a5b3384a7be63ae6808527228a28c9f72674..3beaa24aff9b97f57bead13e4ffcb3570344b28a 100644 (file)
@@ -410,7 +410,6 @@ struct btrfs_header {
  * room to translate 14 chunks with 3 stripes each.
  */
 #define BTRFS_SYSTEM_CHUNK_ARRAY_SIZE 2048
-#define BTRFS_LABEL_SIZE 256
 
 /*
  * just in case we somehow lose the roots and are not able to mount,
index dea8931992571a6e87569024567af5aff6cef01b..11eee3439994c61271d5911e811e5b6333777c65 100644 (file)
@@ -23,6 +23,7 @@
 
 #define BTRFS_IOCTL_MAGIC 0x94
 #define BTRFS_VOL_NAME_MAX 255
+#define BTRFS_LABEL_SIZE 256
 
 /* this should be 4k */
 #define BTRFS_PATH_NAME_MAX 4087
This page took 0.029661 seconds and 5 git commands to generate.