Skip to contentSkip to conversation

gfs2: Eliminate vestigial HIF_FIRST

PATCH New Bob Peterson 1 participant 1 message Jul 30, 2021 GFS2 file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gfs2: Eliminate vestigial HIF_FIRST

Holder flag HIF_FIRST is no longer used or needed, so remove it.

---
 fs/gfs2/glock.c  | 2 --
 fs/gfs2/incore.h | 1 -
 2 files changed, 3 deletions(-)
fs/gfs2/glock.c +0 -2
index 9f94d6b13363..f0b846ba5cc8 100644
@@ -2067,8 +2067,6 @@ static const char *hflags2str(char *buf, u16 flags, unsigned long iflags)
 		*p++ = 'H';
 	if (test_bit(HIF_WAIT, &iflags))
 		*p++ = 'W';
-	if (test_bit(HIF_FIRST, &iflags))
-		*p++ = 'F';
 	*p = 0;
 	return buf;
 }
fs/gfs2/incore.h +0 -1
index 6f31a067a5f2..04ac1537fee7 100644
@@ -252,7 +252,6 @@ struct gfs2_lkstats {
 enum {
 	/* States */
 	HIF_HOLDER		= 6,  /* Set for gh that "holds" the glock */
-	HIF_FIRST		= 7,
 	HIF_WAIT		= 10,
 };
 
Signature · 1 line
2.31.1