From: Alex Shi Date: Tue, 21 Jan 2020 18:26:24 +0800 Subject: [Cluster-devel] [PATCH] fs/gfs2: remove IS_DINODE In-Reply-To: References: <1579596552-257820-1-git-send-email-alex.shi@linux.alibaba.com> Message-ID: List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ? 2020/1/21 ??6:23, Andreas Gr?nbacher ??: > Alex, > > Am Di., 21. Jan. 2020 um 09:50 Uhr schrieb Alex Shi > : >> After commit 1579343a73e3 ("GFS2: Remove dirent_first() function"), this >> macro isn't used any more. so remove it. >> >> Signed-off-by: Alex Shi >> Cc: Bob Peterson >> Cc: Andreas Gruenbacher >> Cc: cluster-devel at redhat.com >> Cc: linux-kernel at vger.kernel.org >> --- >> fs/gfs2/dir.c | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/fs/gfs2/dir.c b/fs/gfs2/dir.c >> index eb9c0578978f..636a8d0f3dab 100644 >> --- a/fs/gfs2/dir.c >> +++ b/fs/gfs2/dir.c >> @@ -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. > I oversee this. Sorry. > The other patch removing the LBIT macros looks good as well, so I'm > applying both. Thanks a lot! Alex