From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 459C8C46467 for ; Wed, 11 Jan 2023 04:55:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hZzj/YcKWoLLZZ8paveGLOdJhkKB8Ap/IkE71orGKdQ=; b=dsYxzJYZKKWjkF RWrkenvHa2ew1tFoURKKqiw21FlPUqDlSKYlZ+4HzU9iR5rg/U3UvO/6+GFYobxtZKJkzr4HBE07W U+f6tGpelE7rgO0HoVYKBgbsOYo157S+K0lWJibxejhONB7cwNiVRQRl7UFmFwr7vQ7pD0+gMEZsT pxO/2N8na0I5PqlTyT8SOUR+I0iIl2Su0AtiuUoPa1AMorGF0np4lgRWyrumyJvxY/DbwZbdz3WZD FXQxTHYYGfeLqKkw+WTC6N7DpU0t/SnK72kvsSNA/NAy6+7d/X2MCUPGM3hyOCTsSzaHU7ZE24bKw /bac/HX0h5dC8M02SDRw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFT82-009bEn-Lk; Wed, 11 Jan 2023 04:54:22 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFT7s-009bAO-Ig for linux-arm-kernel@lists.infradead.org; Wed, 11 Jan 2023 04:54:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673412849; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AwDGIIG2kEW7th9yR8DoIeZiikP/oVS4/IYm7KTM+N0=; b=brBsQQCOn3YNpLDRSqJ0fzxkPgWTd4vbAn6G6HjRvF4ftTEjYNlIg2wBSn3tcP5h2zfNIk jWqFpNqwVQdt3rHPjEQTY6pwwFqd6aMMsecCM9qO+H49BcBd/QzXarky/Q/461Wvi4a92Y V+yqgBm2DJ/BldL60Ie7/m7IEX5QWqQ= Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-156-wh8Lda6xMxKPEZk7gIkANA-1; Tue, 10 Jan 2023 23:54:07 -0500 X-MC-Unique: wh8Lda6xMxKPEZk7gIkANA-1 Received: by mail-pf1-f198.google.com with SMTP id u3-20020a056a00124300b0056d4ab0c7cbso6228829pfi.7 for ; Tue, 10 Jan 2023 20:54:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AwDGIIG2kEW7th9yR8DoIeZiikP/oVS4/IYm7KTM+N0=; b=WOO1Vt4vW0GY40f6pdTyxT/kZpShVCgy6CYSqGoMsfSjFHQvsc8ZjZwiJ7Urwv6TvD ENzAjoGmP75fIqv0p+6lzhydRJAq8ywcyxeQoaM71EGdR1oq6m2BKkmeaqM/D7UaSds0 Ki8Axol2Ym1eSuLuT3KETX1G8VbWsSvDGFQBQYvnmFlDN8Uaskv7Fpthvq3M854jrX9C 4JF1bN3dyN1v0/f6Zi8Bv6yiHGwI121/ubfZRd38ScV69z1p4dS8/+TjqGlBbrUfsaUr syKVAUdzkybJJWeP50q6mAk1iemZXqBduwQsAprIPSh7RqpSsp25eYioG27TV06c6XKi mbwA== X-Gm-Message-State: AFqh2kolkRVvcwm+/jCISJs/e6d2yCH3413Zm4YWQJbEeSWZ4gLAr4vQ 54jOACPT9lW6Rz0ey4VLcFkH+zDfrWgUK56dypbnx+XEGj6V9L6FHxxRaC2Ow/UsFS0eKyai2VL hoSMpBEeO5JeHdA46nP2SCt9dwk2PxH0g33o= X-Received: by 2002:a17:903:50e:b0:189:bda4:4a39 with SMTP id jn14-20020a170903050e00b00189bda44a39mr68317493plb.49.1673412846853; Tue, 10 Jan 2023 20:54:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXs+9rrIRD+6pRvHkwnX14gh2BCpLNg+4mxFg/ySKLAFpFMrHGq/R+Lf/NnqdSw7vAx/2ZYhMg== X-Received: by 2002:a17:903:50e:b0:189:bda4:4a39 with SMTP id jn14-20020a170903050e00b00189bda44a39mr68317481plb.49.1673412846568; Tue, 10 Jan 2023 20:54:06 -0800 (PST) Received: from [10.72.14.8] ([43.228.180.230]) by smtp.gmail.com with ESMTPSA id d11-20020a170902654b00b001895d87225csm8944870pln.182.2023.01.10.20.53.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Jan 2023 20:54:05 -0800 (PST) Message-ID: <330d1f1b-02b2-ceb1-5df5-ef6ce0061eb2@redhat.com> Date: Wed, 11 Jan 2023 12:53:49 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v2] filelock: move file locking definitions to separate header file To: Jeff Layton , Russell King , Eric Van Hensbergen , Latchesar Ionkov , Dominique Martinet , Christian Schoenebeck , David Howells , Marc Dionne , Alexander Viro , Ilya Dryomov , Steve French , Paulo Alcantara , Ronnie Sahlberg , Shyam Prasad N , Tom Talpey , Christine Caulfield , David Teigland , Chuck Lever , Miklos Szeredi , Bob Peterson , Andreas Gruenbacher , Namjae Jeon , Sergey Senozhatsky , Trond Myklebust , Anna Schumaker , Mark Fasheh , Joel Becker , Joseph Qi , Mike Marshall , Martin Brandenburg , "Darrick J. Wong" Cc: Christian Brauner , Christoph Hellwig , Steve French , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, v9fs-developer@lists.sourceforge.net, linux-afs@lists.infradead.org, linux-fsdevel@vger.kernel.org, ceph-devel@vger.kernel.org, linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, cluster-devel@redhat.com, linux-nfs@vger.kernel.org, ocfs2-devel@oss.oracle.com, devel@lists.orangefs.org, linux-xfs@vger.kernel.org References: <20230105211937.1572384-1-jlayton@kernel.org> From: Xiubo Li In-Reply-To: <20230105211937.1572384-1-jlayton@kernel.org> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230110_205412_746662_4023B082 X-CRM114-Status: GOOD ( 17.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 06/01/2023 05:19, Jeff Layton wrote: > The file locking definitions have lived in fs.h since the dawn of time, > but they are only used by a small subset of the source files that > include it. > > Move the file locking definitions to a new header file, and add the > appropriate #include directives to the source files that need them. By > doing this we trim down fs.h a bit and limit the amount of rebuilding > that has to be done when we make changes to the file locking APIs. > > Reviewed-by: Xiubo Li > Reviewed-by: Christian Brauner (Microsoft) > Reviewed-by: Christoph Hellwig > Reviewed-by: David Howells > Acked-by: Chuck Lever > Acked-by: Joseph Qi > Acked-by: Steve French > Signed-off-by: Jeff Layton > --- > arch/arm/kernel/sys_oabi-compat.c | 1 + > fs/9p/vfs_file.c | 1 + > fs/afs/internal.h | 1 + > fs/attr.c | 1 + > fs/ceph/locks.c | 1 + ceph part looks good to me. Thanks - Xiubo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel