diff options
author | Bob Peterson <rpeterso@redhat.com> | 2021-07-27 13:52:42 -0500 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2021-08-20 09:03:46 -0500 |
commit | a8f1d32d0f04354ee4dddb83072413f2c299a192 (patch) | |
tree | bd93b9b3a109b9775acb8124672d55489dfe21ad | |
parent | 7392fbb0a402ec4e4342a5e26a4bd6c359e67165 (diff) | |
download | linux-a8f1d32d0f04354ee4dddb83072413f2c299a192.tar.gz linux-a8f1d32d0f04354ee4dddb83072413f2c299a192.tar.bz2 linux-a8f1d32d0f04354ee4dddb83072413f2c299a192.zip |
gfs2: Eliminate vestigial HIF_FIRST
Holder flag HIF_FIRST is no longer used or needed, so remove it.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
-rw-r--r-- | fs/gfs2/glock.c | 2 | ||||
-rw-r--r-- | fs/gfs2/incore.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 1f3902ecdded..ff8d6a79fc6e 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 397b091cbed1..0fe49770166e 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, }; |