aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linux.alibaba.com>2020-01-21 16:49:12 +0800
committerAndreas Gruenbacher <agruenba@redhat.com>2020-01-21 11:19:38 +0100
commitb3ca4e447dba6c30c7867a1353712e3507dc5110 (patch)
tree0cdc2ea04bb013267acc7d51dfbef73cd7282547 /fs/gfs2
parentgfs2: Remove GFS2_MIN_LVB_SIZE define (diff)
downloadlinux-dev-b3ca4e447dba6c30c7867a1353712e3507dc5110.tar.xz
linux-dev-b3ca4e447dba6c30c7867a1353712e3507dc5110.zip
fs/gfs2: remove unused IS_DINODE and IS_LEAF macros
Since commit 1579343a73e3 ("GFS2: Remove dirent_first() function"), these macros aren't used any more, so remove them. Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/dir.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/gfs2/dir.c b/fs/gfs2/dir.c
index eb9c0578978f..c8b62577e2f2 100644
--- a/fs/gfs2/dir.c
+++ b/fs/gfs2/dir.c
@@ -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)