diff options
author | Alex Shi <alex.shi@linux.alibaba.com> | 2020-01-21 16:49:12 +0800 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2020-01-21 11:19:38 +0100 |
commit | b3ca4e447dba6c30c7867a1353712e3507dc5110 (patch) | |
tree | 0cdc2ea04bb013267acc7d51dfbef73cd7282547 /fs | |
parent | f7be987b825434e2cac5027d47501ae1102881b4 (diff) | |
download | talos-op-linux-b3ca4e447dba6c30c7867a1353712e3507dc5110.tar.gz talos-op-linux-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')
-rw-r--r-- | fs/gfs2/dir.c | 3 |
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) |