Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp843853rdb; Fri, 9 Feb 2024 03:00:11 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUxY1pTE3s1kkCtJFc1N+sTCbtR5SFqytc+9dM6Mi2IUFHEGvh2NSKwR5Dsg2GRDvkCQBJyz5z2FIx8JN2nNmzdM5cifsoEmzMlz6ZJHw== X-Google-Smtp-Source: AGHT+IHyKIG/vqZG1tSiJLI/rU9Z7C1f6ESmAJqpsSNin2+JCKGNLBBLFeUJBBUZg/n8BVrbBEKu X-Received: by 2002:a05:6402:3447:b0:560:c6ba:27df with SMTP id l7-20020a056402344700b00560c6ba27dfmr1000323edc.0.1707476411373; Fri, 09 Feb 2024 03:00:11 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWRQV+y7UjLuELb4V3621BcZaxwVCtH+WkYLKbc0igJxcu/IpxzIapz1lHtB1BSZd/1/BOg0hSHOwBDY8Co+4/CPrKCYHuSFpQX2Fr74Q== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id cn6-20020a0564020ca600b0055fe9f04862si751148edb.666.2024.02.09.03.00.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 03:00:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59258-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b=crw86jVZ; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-59258-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59258-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 1AC291F24D5A for ; Fri, 9 Feb 2024 11:00:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6580528DC1; Fri, 9 Feb 2024 10:59:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="crw86jVZ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7423025630; Fri, 9 Feb 2024 10:59:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707476393; cv=none; b=b3JeSbvsy5WTKB5XI7LyXgPBg4OLeaN2FNOh9FQTYetyITuKzITpnUnUUXESe/E6peJMbtrXOX8JLlU06LSTsD7I6qi23R3fu+P+HcLRe+JHy5KAITfJKJlizRhayqaiLaIg4Ib0t2lg/zhRuQl/ADPM99vgU88ItSYQpSbWPbI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707476393; c=relaxed/simple; bh=FFLWrgG2VHp3uRF0u3LiE7N3T26kky9+Tfd1oSmlI0I=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=h9q7WjOOD1dXLFsDOdvaCihYbUDqeMevDEG34g+nDgr7Yf40DM83wkQgvo9tAr197E+NDrJQ5sMMtmQBVcy2TH2uDJpFp+2RqXq5BoFt3sIiSveEhqQRMG2CJVHeHeAvVuaTtuK7cYxh8zk0tkyFB6c9ZyuDo0JP1+wTV8L24r8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=crw86jVZ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3E54C433F1; Fri, 9 Feb 2024 10:59:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707476393; bh=FFLWrgG2VHp3uRF0u3LiE7N3T26kky9+Tfd1oSmlI0I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=crw86jVZNx+OjqvNSgKMiIlh1/TuyaFkxQgr4lOvuHwA7ZCHOLYVT+QyTXRvtr8E8 /s7GrX5Ss4XUbblkURa43fzs05SGNFZ7inrSJ4HeSd7L7bmwXAhbd1w1yhaWt7NOpw f5z1Zc6CZuPHLeBzs8rCrvIz4U8M2Jnm/Mj4JBKe8k9/KgN/uOtWTgEkjW+JqYw8IV 4SpzXjCDYQzlg94S1xkIFeFlgcqxu0I7gds9B/lmVVkgBqZuhMYxN5ARWrTr2xVB+9 XrSObopVoHJQlZGsPJkEBgToDVIebtPdh4CWv87vmMkSMXFS8QXJ2lyKZwbtNoKocc TIa6PF8//FkEw== Date: Fri, 9 Feb 2024 10:59:47 +0000 From: Simon Horman To: David Howells Cc: Steve French , Jeff Layton , Matthew Wilcox , Paulo Alcantara , Shyam Prasad N , Tom Talpey , Christian Brauner , netfs@lists.linux.dev, linux-cifs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Steve French , Shyam Prasad N , Rohith Surabattula Subject: Re: [PATCH v5 09/12] cifs: Cut over to using netfslib Message-ID: <20240209105947.GF1516992@kernel.org> References: <20240205225726.3104808-1-dhowells@redhat.com> <20240205225726.3104808-10-dhowells@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240205225726.3104808-10-dhowells@redhat.com> On Mon, Feb 05, 2024 at 10:57:21PM +0000, David Howells wrote: .. > diff --git a/fs/smb/client/cifsfs.h b/fs/smb/client/cifsfs.h > index e8e0f863e935..5cd547b7b5ea 100644 > --- a/fs/smb/client/cifsfs.h > +++ b/fs/smb/client/cifsfs.h > @@ -85,6 +85,7 @@ extern const struct inode_operations cifs_namespace_inode_operations; > > > /* Functions related to files and directories */ > +extern const struct netfs_request_ops cifs_req_ops; > extern const struct file_operations cifs_file_ops; > extern const struct file_operations cifs_file_direct_ops; /* if directio mnt */ > extern const struct file_operations cifs_file_strict_ops; /* if strictio mnt */ Nit: this hunk would probably be better placed in the patch at adds cifs_req_ops to fs/smb/client/file.c ..