Commit b3ca4e44 authored by Alex Shi's avatar Alex Shi Committed by Andreas Gruenbacher

fs/gfs2: remove unused IS_DINODE and IS_LEAF macros

Since commit 1579343a ("GFS2: Remove dirent_first() function"),
these macros aren't used any more, so remove them.
Signed-off-by: default avatarAlex Shi <alex.shi@linux.alibaba.com>
Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent f7be987b
...@@ -73,9 +73,6 @@ ...@@ -73,9 +73,6 @@
#include "bmap.h" #include "bmap.h"
#include "util.h" #include "util.h"
#define IS_LEAF 1 /* Hashed (leaf) directory */
#define IS_DINODE 2 /* Linear (stuffed dinode block) directory */
#define MAX_RA_BLOCKS 32 /* max read-ahead blocks */ #define MAX_RA_BLOCKS 32 /* max read-ahead blocks */
#define gfs2_disk_hash2offset(h) (((u64)(h)) >> 1) #define gfs2_disk_hash2offset(h) (((u64)(h)) >> 1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment