Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8049974rwp; Wed, 19 Jul 2023 04:39:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlFJgN6ujkh/DC+KnM52C9J0rbjk4BB8h3qMnhH/ctxJOCPD1B8Dx/BhTKdQZRFawVpNMkAk X-Received: by 2002:a05:6870:1494:b0:1b7:610e:2d8 with SMTP id k20-20020a056870149400b001b7610e02d8mr2534902oab.54.1689766786509; Wed, 19 Jul 2023 04:39:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689766786; cv=none; d=google.com; s=arc-20160816; b=aD63cbJYfKm8+S6umVWdrLFgK71OgfCzxy8DGXQ8+wzWMu2OAk0OqNN6B2rFXllmRM 6E9B7DC5H1J8l5FLPu+Dm2x8q1JMpgYple0bkTU7H1Lh4goK7QitgW7MHmCtBYGannNY L6vNl/fBmQl6/zH06qOJiDQhXuZWypqVFZ6I0ThQdBV9REBFVYDC5sRJ5aSTKmV+SH5Z EPbiL3w1T+Ls1IYyc1vHUnZH1Lx4fLKr8XuhVgABr+Z34QufQ2/8u/JoFetSaOjWUo4J PkgkGk7WsahCLYUQRrS7TxLldoXq0n7GGSOj/5ktVcd9ORbPIQ9wLzRdjhKxWYeXe+ce CWxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=oiSih+gzm/VsTUqK/NMy1cTEF9hf/22juSFcJh1e+oU=; fh=DgI4VKuRt1Fzk5IPQRVdjz7VghOwjKX0bI6WsQHXquA=; b=TisfeIAWojrlgmkkdvLwSyGRn/Pa+q7hyiXHPXDn070uSMxirensyGq8ESbq7W/A7i 5xylz0L/y7psXHyl4muXjzOt/owNHTu48dmzYFK/i05D2GryFRe/1/eKdGJJSfboW90F M0REAq9lLgsKSisyS6da0OFHj9KuB4y/HIeMpB6GFa7+3KNxdk2EGopPjkmGXvKTaqFk 9W9+GcsNeT3GD1pgS4rIq6o1GDfrhKuNHJ9e/NdyRq9WkTrmdXot+L8FQoNYYCdY91tr VpDFHpVT81rh2ftP2wLpIB6hD56ZWu7p5f+iyXV0Cm1+vIbcL6DibKhyGqNoRodi0M0l 7+9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b=p5je5710; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p19-20020a63e653000000b0053ff2b1be42si3249602pgj.113.2023.07.19.04.39.34; Wed, 19 Jul 2023 04:39:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b=p5je5710; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230361AbjGSLK2 (ORCPT + 99 others); Wed, 19 Jul 2023 07:10:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229881AbjGSLK1 (ORCPT ); Wed, 19 Jul 2023 07:10:27 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DD82189 for ; Wed, 19 Jul 2023 04:10:26 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R5Y5D29nXzBRDrb for ; Wed, 19 Jul 2023 19:10:24 +0800 (CST) Authentication-Results: mail.208.org (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=208.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=208.org; h= content-transfer-encoding:content-type:message-id:user-agent :references:in-reply-to:subject:to:from:date:mime-version; s= dkim; t=1689765024; x=1692357025; bh=mhF1ILjox9N5+ynKfNrAuyFUxiw hKqI6nL3g6Yq0YZI=; b=p5je57100OQ9j4vXSocxpSwAw0jWZpXybJzAh34nmSI wEKVHjBGJ08P1ZRQ8tiKbDoSxTjt9jXnHPF+p+/ROu9vbbCQ/cWi+nZeVdtfSR72 kVSqZSX9rQKxqHbiB+Ob3L+0MGI5xz0eXHQWbBw8g/mL4Am2JvpfN9pCmQAwbupg 7o9PZ3qOZSEIJa65a8A0pNPnUGiPlFQhSeXvEZy3+O/XDi0/RpZQv4kolnW2abFf 5VoNk5Q49ZU+PhyZ/w0DYQw5DXpjFf09co8xh/keLKCRsQpJXBfZ6N1RTB4ENMNi m2wKEgY19/M/1KH19g5U7oIz7fWc5FHvbBBnAbdtvBA== X-Virus-Scanned: amavisd-new at mail.208.org Received: from mail.208.org ([127.0.0.1]) by mail.208.org (mail.208.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vJkKwA5ihFCF for ; Wed, 19 Jul 2023 19:10:24 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R5Y5C6yvRzBR7Zc; Wed, 19 Jul 2023 19:10:23 +0800 (CST) MIME-Version: 1.0 Date: Wed, 19 Jul 2023 19:10:23 +0800 From: huzhi001@208suo.com To: xiubli@redhat.com, idryomov@gmail.com Cc: jlayton@kernel.org, ceph-devel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] netfs: Fix errors in cache.h The following checkpatch errors are removed: ERROR: "foo* bar" should be "foo *bar" ERROR: "foo* bar" should be "foo *bar" ERROR: "foo* bar" should be "foo *bar" ERROR: "foo* bar" should be "foo *bar" ERROR: "foo* bar" should be "foo *bar" In-Reply-To: References: User-Agent: Roundcube Webmail Message-ID: <071ee91b1fade5bc4de45f3e33f45f5c@208suo.com> X-Sender: huzhi001@208suo.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_BLOCKED,RDNS_NONE,SPF_HELO_FAIL,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: ZhiHu --- fs/ceph/cache.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/ceph/cache.h b/fs/ceph/cache.h index dc502daac49a..b9fb1d1b21a1 100644 --- a/fs/ceph/cache.h +++ b/fs/ceph/cache.h @@ -14,11 +14,11 @@ #ifdef CONFIG_CEPH_FSCACHE #include -int ceph_fscache_register_fs(struct ceph_fs_client* fsc, struct fs_context *fc); -void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc); +int ceph_fscache_register_fs(struct ceph_fs_client *fsc, struct fs_context *fc); +void ceph_fscache_unregister_fs(struct ceph_fs_client *fsc); void ceph_fscache_register_inode_cookie(struct inode *inode); -void ceph_fscache_unregister_inode_cookie(struct ceph_inode_info* ci); +void ceph_fscache_unregister_inode_cookie(struct ceph_inode_info *ci); void ceph_fscache_use_cookie(struct inode *inode, bool will_modify); void ceph_fscache_unuse_cookie(struct inode *inode, bool update); @@ -76,13 +76,13 @@ static inline void ceph_fscache_note_page_release(struct inode *inode) fscache_note_page_release(ceph_fscache_cookie(ci)); } #else /* CONFIG_CEPH_FSCACHE */ -static inline int ceph_fscache_register_fs(struct ceph_fs_client* fsc, +static inline int ceph_fscache_register_fs(struct ceph_fs_client *fsc, struct fs_context *fc) { return 0; } -static inline void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc) +static inline void ceph_fscache_unregister_fs(struct ceph_fs_client *fsc) { } @@ -90,7 +90,7 @@ static inline void ceph_fscache_register_inode_cookie(struct inode *inode) { } -static inline void ceph_fscache_unregister_inode_cookie(struct ceph_inode_info* ci) +static inline void ceph_fscache_unregister_inode_cookie(struct ceph_inode_info *ci) { }