fs/gfs2: remove IS_DINODE
PATCH 1/1 fs/gfs2: remove IS_DINODE
After commit 1579343a73e3 ("GFS2: Remove dirent_first() function"), this macro isn't used any more. so remove it.
--- fs/gfs2/dir.c | 1 - 1 file changed, 1 deletion(-)
fs/gfs2/dir.c +0 -1
@@ -74,7 +74,6 @@#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 */
Signature · 1 line
1.8.3.1
Alex,
Am Di., 21. Jan. 2020 um 09:50 Uhr schrieb Alex Shi <[email protected]>:
Quoted 17 lines
After commit
1579343a73e3("GFS2: Removedirent_first()function"), this macro isn't used any more. so remove it.Signed-off-by Alex Shi <[email protected]>Cc Bob Peterson <[email protected]>Cc Andreas Gruenbacher <[email protected]>Cc cluster-devel at redhat.comCc linux-kernel at vger.kernel.org--- fs/gfs2/dir.c | 1 - 1 file changed, 1 deletion(-)fs/gfs2/dir.c +0
-0
fs/gfs2/dir.c line 77
Quoted 4 lines
fs/gfs2/dir.c +0
-1@@ -74,7 +74,6 @@#include "util.h" #define IS_LEAF 1/* Hashed (leaf) directory */ -#define IS_DINODE 2/* Linear (stuffed dinode block) directory */
The same is true for the IS_LEAF macro. I'm adjusting the patch accordingly.
The other patch removing the LBIT macros looks good as well, so I'm applying both.
Thanks,
Andreas
? 2020/1/21 ??6:23, Andreas Gr?nbacher ??:
Quoted 23 lines
Alex,
Am Di., 21. Jan. 2020 um 09:50 Uhr schrieb Alex Shi <[email protected]>:
Quoted 19 lines
After commit
1579343a73e3("GFS2: Removedirent_first()function"), this macro isn't used any more. so remove it.Signed-off-by Alex Shi <[email protected]>Cc Bob Peterson <[email protected]>Cc Andreas Gruenbacher <[email protected]>Cc cluster-devel at redhat.comCc linux-kernel at vger.kernel.org--- fs/gfs2/dir.c | 1 - 1 file changed, 1 deletion(-)fs/gfs2/dir.c +0
-0@@ -74,7 +74,6 @@#include "util.h"
Quoted 5 lines
fs/gfs2/dir.c line 77
Quoted 2 lines
fs/gfs2/dir.c +0
-1#define IS_LEAF 1/* Hashed (leaf) directory */ -#define IS_DINODE 2/* Linear (stuffed dinode block) directory */ The same is true for the
IS_LEAFmacro. I'm adjusting the patch accordingly.
I oversee this. Sorry.
Quoted 2 lines
The other patch removing the LBIT macros looks good as well, so I'm applying both.
Thanks a lot!
Alex