btrfs-progs: Replace number with a exsiting macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Use macro SZ_4K to replace number 4096 when define macro
BTRFS_SUPER_INFO_SIZE.

Signed-off-by: Gu Jinxiang <gujx@xxxxxxxxxxxxxx>
---
 disk-io.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/disk-io.h b/disk-io.h
index dfe4cf0..5c293eb 100644
--- a/disk-io.h
+++ b/disk-io.h
@@ -24,7 +24,7 @@
 #include "sizes.h"
 
 #define BTRFS_SUPER_INFO_OFFSET SZ_64K
-#define BTRFS_SUPER_INFO_SIZE 4096
+#define BTRFS_SUPER_INFO_SIZE SZ_4K
 
 #define BTRFS_SUPER_MIRROR_MAX	 3
 #define BTRFS_SUPER_MIRROR_SHIFT 12
-- 
2.9.4



--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux