gfs2: Eliminate vestigial HIF_FIRST
authorBob Peterson <rpeterso@redhat.com>
Tue, 27 Jul 2021 18:52:42 +0000 (13:52 -0500)
committerBob Peterson <rpeterso@redhat.com>
Fri, 20 Aug 2021 14:03:46 +0000 (09:03 -0500)
Holder flag HIF_FIRST is no longer used or needed, so remove it.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/glock.c
fs/gfs2/incore.h

index 1f3902ecddedd392f09aaef822d6da96ccdbbb3e..ff8d6a79fc6e096522c3571d8ee2538587b8e71f 100644 (file)
@@ -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;
 }
index 397b091cbed145e347341cd608b66d2c84c72adf..0fe49770166ea52b679a2116829ec95524df10f9 100644 (file)
@@ -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,
 };