Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1485983pxb; Fri, 27 Aug 2021 09:52:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4n85QdPRJQPWNI2MM2FEh+LvfK9Ugi6Ufp1uxlexdKqqDdQfc4vJcQO8KDxpmIbnAupWg X-Received: by 2002:a17:907:923:: with SMTP id au3mr8800137ejc.482.1630083174621; Fri, 27 Aug 2021 09:52:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630083174; cv=none; d=google.com; s=arc-20160816; b=PS5Qq7eh8xlMimXQUw0rphrh/V71CCjUMxSeRNw5HE/WDaULiKhOkCeNAPeQuHMASD z3Z57ULdVj6JxigZsLyT3TIbcdaVwFQgxXH6eldAIDxtib4dKiyVlLgwhFX9wmjSV8Ee +uPmavct1YnuokCwtHeVnxqRm9Ky3EsiPPreu1w6oIikvoz8PDyq7rTdytEBTrLSpRRd IC0W4jb+Yh9H5zeB0wJXz4renIVWdkBW2xGzB3goZES6kbZpexLsAYsmRzsKwiPC7tGv Iyw9oC64ZkR1U2p6nQf+BWqM6RNnznFMaizzdCBJ56kUxOPZrjxjlvAq7buR1AtK4e9A jXzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hlLVo70MeIlzSeNo8YqccKJkFJlfnahf31dyuu9o1Es=; b=AB3xANpA1MeQ7ziLvYOQKLkbA1co11VrHykoJkXoKJHaIEhSyCyv/ycEk2KrW6Zpcm MP/uvUU6ARhbQDD9mobIU3CcgAPNgnby2OgY1EORmajlH4yovSF9AOxwSGErvdyZvQwi kRDU9XpeAb6OLyCxr7mOqWjSNs8qOf7QiXrXSBlFFkZsb/O+byxaI0oXqP306aj5dSjC oUjSwxmRnRpY1FnZJ1ZbEWCs/8ZIrKvy4qEEj+jUI7thUTAzQhGBJOvW5eGKOKen6mOl oonAJ2+MwNhpMwA29+jDoP3Koos6FEDYM6YvaVWLjMzATLVSt34m6XmdHR0WB8g9O1EV 0Kew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EZFB+h8W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w19si738806edc.537.2021.08.27.09.52.31; Fri, 27 Aug 2021 09:52:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EZFB+h8W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236784AbhH0Qva (ORCPT + 99 others); Fri, 27 Aug 2021 12:51:30 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:32505 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236143AbhH0QvX (ORCPT ); Fri, 27 Aug 2021 12:51:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1630083033; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hlLVo70MeIlzSeNo8YqccKJkFJlfnahf31dyuu9o1Es=; b=EZFB+h8W1IzkqkDcqwcKKKGZ1TO7xLyuW2YytD3xhhziJW50EK7zzEs82+HdPGXt+/QoB/ q5jfF4UawrzrtrAd4waT80s/uLxUxZt/ZgdL1b0+v/lcgYyXnwKzG7s0m6f/xb2JCMukAM Om0wswFoCcx2BHAET2Qa01P9yC8CvXA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-68-vGKTUqEWOj2I9mxfIiZt-A-1; Fri, 27 Aug 2021 12:50:31 -0400 X-MC-Unique: vGKTUqEWOj2I9mxfIiZt-A-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8E9C7190A7A7; Fri, 27 Aug 2021 16:50:29 +0000 (UTC) Received: from max.com (unknown [10.40.194.206]) by smtp.corp.redhat.com (Postfix) with ESMTP id 83BF660C82; Fri, 27 Aug 2021 16:50:23 +0000 (UTC) From: Andreas Gruenbacher To: Linus Torvalds , Alexander Viro , Christoph Hellwig , "Darrick J. Wong" Cc: Jan Kara , Matthew Wilcox , cluster-devel@redhat.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, ocfs2-devel@oss.oracle.com, Bob Peterson Subject: [PATCH v7 08/19] gfs2: Eliminate vestigial HIF_FIRST Date: Fri, 27 Aug 2021 18:49:15 +0200 Message-Id: <20210827164926.1726765-9-agruenba@redhat.com> In-Reply-To: <20210827164926.1726765-1-agruenba@redhat.com> References: <20210827164926.1726765-1-agruenba@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bob Peterson Holder flag HIF_FIRST is no longer used or needed, so remove it. Signed-off-by: Bob Peterson --- fs/gfs2/glock.c | 2 -- fs/gfs2/incore.h | 1 - 2 files changed, 3 deletions(-) diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 545b435f55ea..fd280b6c37ce 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c @@ -2097,8 +2097,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 e6f820f146cb..5c6b985254aa 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, }; -- 2.26.3