summaryrefslogtreecommitdiff
path: root/volumes.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2013-12-16 20:33:57 +0800
committerChris Mason <clm@fb.com>2014-01-31 08:22:18 -0800
commit5e5fd1b9edb97e713352686e650c05d59fb1287b (patch)
treef357f906c99bf5375ee38d564077ad8a4b1d3ae6 /volumes.h
parent3cae13ee934311b438ea15e773bc5c7d965d1cd8 (diff)
btrfs-progs: don't replicate the stripe_len defines
a clean up patch, the BTRFS_STRIPE_LEN is been duplicated across btrfs-progs, the kernel defines it in volume.h so do the same for progs. Signed-off-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'volumes.h')
-rw-r--r--volumes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/volumes.h b/volumes.h
index 2802cb0b..b1ff3d04 100644
--- a/volumes.h
+++ b/volumes.h
@@ -19,6 +19,8 @@
#ifndef __BTRFS_VOLUMES_
#define __BTRFS_VOLUMES_
+#define BTRFS_STRIPE_LEN (64 * 1024)
+
struct btrfs_device {
struct list_head dev_list;
struct btrfs_root *dev_root;