diff options
author | Bob Peterson <rpeterso@redhat.com> | 2021-07-27 21:52:42 +0300 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2021-08-20 17:03:46 +0300 |
commit | a8f1d32d0f04354ee4dddb83072413f2c299a192 (patch) | |
tree | bd93b9b3a109b9775acb8124672d55489dfe21ad /fs/gfs2 | |
parent | 7392fbb0a402ec4e4342a5e26a4bd6c359e67165 (diff) | |
download | linux-a8f1d32d0f04354ee4dddb83072413f2c299a192.tar.xz |
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>
Diffstat (limited to 'fs/gfs2')
-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, }; |