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

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
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -73,9 +73,6 @@
#include "bmap.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 gfs2_disk_hash2offset(h) (((u64)(h)) >> 1)