Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp220830pxj; Thu, 17 Jun 2021 00:54:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuyor5IuyUVMTTfflN3BVdZOd88j9aElrA2eZmcbcpC6+xsOwnRQz/PX8gnkY37N21fAjH X-Received: by 2002:a92:c503:: with SMTP id r3mr2701938ilg.4.1623916461891; Thu, 17 Jun 2021 00:54:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623916461; cv=none; d=google.com; s=arc-20160816; b=jztsBmHo2d12aAxSB0vWJIojPHrHJzaylxrJV3xZ+52+dRHbT2WjG2J0R0M9jGiEyu pwVv8k273zmP9CWEiIgJaZucrx4j5NrJPLD/2jzIR/98GQrti/xMRDxQrG97HbLCt0uC 2HDO75w1USBX+CwfTrXEkcBSGIfoZrKFOPbwMOw6KLpTEPbRyPV02uMS4OECPXoz4sSZ 75pRH/xMiAMmGMT8ryQyjVgKo2iWKpu5lO5WT80nOnozEvq4OQuyUksx6blyssV6lr+3 0rtRUZKoq7JcDwhIbyCzTSGxea7uiIQbmuJPXC6yRFQCnsO1xSdOStmr0h/r13ZBNBcV GikA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=s/guCNqWCkmsU7CrB51RF3NwfMDPZgiKfP50tfDySTw=; b=WHgCn0Ergnsn33o/XbnwPAe3dgrdy/+irl5B8u2qpDu6wAlvcR+fzm0VP9xHwFPf2Q lc+MOr/xi4Dzh1m3BvaShKggcUCPdRV0hiM3EnBgH9PCQ82HpQf+7weNy9lWwrpy/bDE KMfV4lx1nro7TgH6hknpBTw1lwAUiXjb1/A0ycM08Yv43QpGBCYXYD2jZMNseZec/I38 AcJzO3vnnTKBzPfvxlChzkWx/rAqBZOlqfIM5RH7zJT7ROSUPTRkf1VrzSwQTmASixyk u2drqsFXvgV0Iyi1Ki2ZsOXuhugCMyE3324qynATo0kHBn6dNNs6Num1XDE6rYefPjde zGZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=RuKUcH4M; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v6si5421254ilu.109.2021.06.17.00.54.09; Thu, 17 Jun 2021 00:54:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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=@infradead.org header.s=casper.20170209 header.b=RuKUcH4M; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229834AbhFQH4A (ORCPT + 99 others); Thu, 17 Jun 2021 03:56:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229666AbhFQH4A (ORCPT ); Thu, 17 Jun 2021 03:56:00 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7B01C061574; Thu, 17 Jun 2021 00:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=s/guCNqWCkmsU7CrB51RF3NwfMDPZgiKfP50tfDySTw=; b=RuKUcH4MTj4hHByqmtwofNJuj8 y86MhiLUnWdHgYd3gfLOkP03hk0uealQEX588h3dG7cyXKqw7wbAYEhrhF+3ozbDgRhEyR6aSPEal o566CZ8ndKyagLU9eDpPq81xCsrrb/dAut7MsVY3EO6oqrG2gyW6/cm8Hk0dBC2182oXDjJsVxt9X 1LSuSj4dBjh8AyLOHRgwxxQdXB3XupKzpMSDLQltN2b/hsXGcokulPLJw5inKYoj0t1LOA74xpjbc J8UJv2QD9U4FSe2vuTejCTX1Lp7+ZroVPcKBcQhUsNBY9HGXxLD2bo1WN4n2bNX7t34eI3SCBjLnp udzBWqDA==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltmq8-008tCW-Mo; Thu, 17 Jun 2021 07:53:34 +0000 Date: Thu, 17 Jun 2021 08:53:28 +0100 From: Christoph Hellwig To: Jan Kara Cc: linux-fsdevel@vger.kernel.org, Christoph Hellwig , Dave Chinner , ceph-devel@vger.kernel.org, Chao Yu , Damien Le Moal , "Darrick J. Wong" , Jaegeuk Kim , Jeff Layton , Johannes Thumshirn , linux-cifs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-mm@kvack.org, linux-xfs@vger.kernel.org, Miklos Szeredi , Steve French , Ted Tso , Matthew Wilcox , Pavel Reichl , Dave Chinner , Eric Sandeen Subject: Re: [PATCH 07/14] xfs: Refactor xfs_isilocked() Message-ID: References: <20210615090844.6045-1-jack@suse.cz> <20210615091814.28626-7-jack@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210615091814.28626-7-jack@suse.cz> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Jun 15, 2021 at 11:17:57AM +0200, Jan Kara wrote: > From: Pavel Reichl > > Refactor xfs_isilocked() to use newly introduced __xfs_rwsem_islocked(). > __xfs_rwsem_islocked() is a helper function which encapsulates checking > state of rw_semaphores hold by inode. Looks good with the updated commit log: Signed-off-by: Christoph Hellwig