mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-08 14:13:53 +00:00
fs/gfs2: remove unused IS_DINODE and IS_LEAF macros
Since commit 1579343a73
("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>
This commit is contained in:
parent
f7be987b82
commit
b3ca4e447d
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user