From: Bob Peterson Date: Tue, 27 Jul 2021 18:52:42 +0000 (-0500) Subject: gfs2: Eliminate vestigial HIF_FIRST X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a8f1d32d0f04354ee4dddb83072413f2c299a192;p=linux.git gfs2: Eliminate vestigial HIF_FIRST Holder flag HIF_FIRST is no longer used or needed, so remove it. Signed-off-by: Bob Peterson --- diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 1f3902ecddedd..ff8d6a79fc6e0 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c @@ -2077,8 +2077,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; } diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index 397b091cbed14..0fe49770166ea 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h @@ -253,7 +253,6 @@ struct gfs2_lkstats { enum { /* States */ HIF_HOLDER = 6, /* Set for gh that "holds" the glock */ - HIF_FIRST = 7, HIF_WAIT = 10, };