Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp4624061pxb; Tue, 25 Jan 2022 14:49:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7/g5X4LQml6mh8DeIskLLgoM6ifVXtVFkjdPjzm0+vQO/x/rP6yg26KFEwLz/dLpRQkAy X-Received: by 2002:a17:902:c944:b0:14b:7c15:2cfb with SMTP id i4-20020a170902c94400b0014b7c152cfbmr3768255pla.61.1643150970729; Tue, 25 Jan 2022 14:49:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643150970; cv=none; d=google.com; s=arc-20160816; b=YSwxKPq1gTCL2HbD/nWm3QWJNeSkIjHAj9fFmMRAC2a6caTDNpujQ43JcGng118IR2 hsn72bLdXqjqw9z0yZeV6uyT5kecygIL9NihQKqtgup+o4hPaZCnMgw/n/TgbHu2Gulj GsiCqslxDCLFe0rOlv0eNrfDqH/V9/Psy1kmO1ywNM/4sH58wOFYJTOzglaTHc46mSZ0 mY36jUppVjkgDK6FY4usRVfe1wZc+ci1M9LNbpFXQ8xubLY0+mld3LLcTg56rYPvQsAP hRzqs1O421gwIqM5I61pY0r5upI28UtJcffWpudnFUoJl+1YJAzfZTh2q4y4pZtP/lgx mu6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-id:mime-version:subject :cc:to:references:in-reply-to:from:organization:dkim-signature; bh=QjyE7wz6cil8LO6HiDitf7P9QNfNrKVet24hXy+TY64=; b=ux+gSakX/Q8aY0vFP+dxib0VQAXVNA9uYnkVhtt4ATj22PzkASgYMMdCZAOZfWcnHX lnknW0vbXgDglJhiINT18bnHim5FOSqAupIvZcnrcmnFrMcgxrPX9GC9cYuMPwWtPR94 gp0aA3oyrzyE4Qgx96uvF1Mr+pGQj/UrK3aLN5IIn2VNlut5DKj71S41UCUiZx2VuCGy YnNZNW4fiSNSJHHlG7QP6exvzNOUB08ifB6gBPLfVrC49u4VTrlKsiua9Ar+SPbBdgyC pLqnnEHYkQF1F7CTZzFsh6jjuNUK0INm1DIe75FVsrndsi2It0nZMy8gGcNCRDGHS3MW /0jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CVLTX1Ir; 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 p16si17315693plw.84.2022.01.25.14.49.19; Tue, 25 Jan 2022 14:49:30 -0800 (PST) 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=CVLTX1Ir; 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 S1387339AbiAYPhX (ORCPT + 99 others); Tue, 25 Jan 2022 10:37:23 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:50243 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354013AbiAYPet (ORCPT ); Tue, 25 Jan 2022 10:34:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643124889; 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: in-reply-to:in-reply-to:references:references; bh=QjyE7wz6cil8LO6HiDitf7P9QNfNrKVet24hXy+TY64=; b=CVLTX1Ir3t+M5d+UitgvJFTzsmDEzQsNnQJTBU2CKtPC2MscPIWnTiZVm3gQhtSJEz1bEx 8mxKqqcCK6qy50zX++d1IfQsJNYErWedz77+fZ4GmZJqJK2FPfUyNVmwLGL7GSpPEGoPjp ocxuVmoNszm74XND0fji25NoeQHCg1U= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-224-5MdDGyFQNUC_uojbNYtUKg-1; Tue, 25 Jan 2022 10:34:45 -0500 X-MC-Unique: 5MdDGyFQNUC_uojbNYtUKg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 06D8C84B9A7; Tue, 25 Jan 2022 15:34:44 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.33.36.5]) by smtp.corp.redhat.com (Postfix) with ESMTP id 210947DE2F; Tue, 25 Jan 2022 15:34:32 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20220118131216.85338-12-jefflexu@linux.alibaba.com> References: <20220118131216.85338-12-jefflexu@linux.alibaba.com> <20220118131216.85338-1-jefflexu@linux.alibaba.com> To: Jeffle Xu Cc: dhowells@redhat.com, linux-cachefs@redhat.com, xiang@kernel.org, chao@kernel.org, linux-erofs@lists.ozlabs.org, linux-fsdevel@vger.kernel.org, joseph.qi@linux.alibaba.com, bo.liu@linux.alibaba.com, tao.peng@linux.alibaba.com, gerry@linux.alibaba.com, eguan@linux.alibaba.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 11/20] erofs: add cookie context helper functions MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2812798.1643124872.1@warthog.procyon.org.uk> Date: Tue, 25 Jan 2022 15:34:32 +0000 Message-ID: <2812799.1643124872@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jeffle Xu wrote: > +static int erofs_fscahce_init_ctx(struct erofs_fscache_context *ctx, fscahce => fscache? David