[PATCH 3/7] ext4: drop unused and misdefined INODE_SIZE_FILESYSTEM macro

Antony Pavlov antonynpavlov at gmail.com
Mon Mar 20 05:35:28 PDT 2017


Nota bene sblock.inode_size actually has __le16 type.

Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
 fs/ext4/ext_common.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fs/ext4/ext_common.h b/fs/ext4/ext_common.h
index a02f0b333..63cd4d26c 100644
--- a/fs/ext4/ext_common.h
+++ b/fs/ext4/ext_common.h
@@ -65,8 +65,6 @@
 /* Log2 size of ext2 block in bytes.  */
 #define LOG2_BLOCK_SIZE(data)	   (le32_to_cpu \
 		(data->sblock.log2_block_size) + 10)
-#define INODE_SIZE_FILESYSTEM(data)	(le32_to_cpu \
-			(data->sblock.inode_size))
 
 #define EXT2_FT_DIR	2
 #define SUCCESS	1
-- 
2.11.0




More information about the barebox mailing list