Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp761284ybv; Wed, 5 Feb 2020 14:07:56 -0800 (PST) X-Google-Smtp-Source: APXvYqxfju6Bl4tXfejYG0daqp56JsDWJJMAMWb8o/infgLMjjYkkD5bcqyCpvVQpWZ203fr/1HI X-Received: by 2002:a9d:7607:: with SMTP id k7mr16089755otl.205.1580940476449; Wed, 05 Feb 2020 14:07:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580940476; cv=none; d=google.com; s=arc-20160816; b=bKcFnVybGkrFfzNq4Oye9jrg78qjSbBFSUJn3N7AFlducUwJQQ3g1/v1QTrKseBNWc GUtuy7C8l8/EDH7yCqfg8k/OpXANBS5OVh5nGLj9Q4YTYNJL3Is5zV4zL5bdfCRS8x0m lJDzwk0nr+yT88xtA6gcnCpUG04yuRi6XUA625jP2s3ufGjeteKT5E+7jnGU7KgBKzF/ epj3JD78jsGAqLd8C7onRuKlv6XCp5Ef+kjA/KZ0dV6grJ8AtU5jN7UevXVezDxyYjuu 7RtLwWKGFZIpVlqwMXGIlwxmbp2qW/upJ8ti04WSCuzAtcULeUSmodF1fWVhkHydrQZB dIug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from :dkim-signature:date; bh=i62LnGibB8Dl1NiIwGsJPRsRIqWbf+8hhkVnsrmEm0U=; b=UshLuPQFmIeuCh02YnLg+FeU3coiVbdT0C8ZkOTQgJRpaL5aSaK8358dRDddg3TNtC GuR2ldIkvPfei83a7J2lZMa2k+y/Hxk8HF3y7YzVXtv8QMwkfCWptNFyrjD9OoblH0Rz v1/zJ8+XnjmRcsByEfh8HM0nBP4huh4Mkkm31Ix559A5hnuIaPK38uIyzBNmsiFuauPO mnsIoiQB9KnF8dTRwydNHz33Kvb3YVI9VxSCqqTT2yRAlYLkp4X/v93aBR7g6srgPskV 3X+2EwwgLyUfsli1EtaNJn+VW19GssauDGGGo/+ioXudOV9YniJvOosxD1jLPxcXb4y+ vivg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cock.li header.s=mail header.b=yxVdJxXB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w13si549359oti.291.2020.02.05.14.07.44; Wed, 05 Feb 2020 14:07:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@cock.li header.s=mail header.b=yxVdJxXB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727500AbgBEWGM (ORCPT + 99 others); Wed, 5 Feb 2020 17:06:12 -0500 Received: from mx1.cock.li ([185.10.68.5]:38189 "EHLO cock.li" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727033AbgBEWGM (ORCPT ); Wed, 5 Feb 2020 17:06:12 -0500 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on cock.li X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,NO_RECEIVED,NO_RELAYS shortcircuit=_SCTYPE_ autolearn=disabled version=3.4.2 Date: Thu, 6 Feb 2020 01:06:07 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cock.li; s=mail; t=1580940369; bh=EEta4kxNqs0o9NP0rc52RRu2fAQhB8tslJRFLKGaEbE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=yxVdJxXB3pX66l/rR2aXkcgiQvJFMrGBeOholbRzEHBhzj5c8WPi/3V7av68qSt2X FKkBhrB/+tWK0SWKuX92l82aPumRQfDii5eriYPz8wZKK4TPeiQg8r0R6wPMd3ULPK rTWZAFRHOztRCQu2HQ/od0Pe7szXp5orGQF/wLmgA8odyNQ6vt+1uVFHVSL17sjWC4 zXoaxW/EJFxPwdvLk4852KcuTpKnHHUSgZUxojDaZjzIGh7+pMpSdslQcPT1GovoK4 m15fJXH5VxrzzUUUKLNqZDKYYBHnjKnm/49K03a2nT8zp0nXUaTRPV1EWX7nLRJGXJ 49lMSS0t2HJ1g== From: l29ah@cock.li To: Dominique Martinet Cc: Sergey Alirzaev , v9fs-developer@lists.sourceforge.net, Eric Van Hensbergen , Latchesar Ionkov , "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] 9pnet: allow making incomplete read requests Message-ID: <20200205220607.m7tu6hsdr3xhm6l4@l29ah-x201.l29ah-x201> References: <20200205204053.12751-1-l29ah@cock.li> <20200205215446.GB3942@nautica> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200205215446.GB3942@nautica> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 05, 2020 at 10:54:46PM +0100, Dominique Martinet wrote: > > [...] > > + if (n != count) { > > + *err = -EFAULT; > > + p9_tag_remove(clnt, req); > > + return n; > > } > > - p9_tag_remove(clnt, req); > > + } else { > > + iov_iter_advance(to, count); > > + count; > > Any reason for this stray 'count;' statement? > If you're ok with this I'll just take patch without that line, don't > bother resubmitting. No reason, i've just accidentally left it. > Will take a fair amount of time to make it to linux-next though, test > setup needs some love and I want to run tests even if this should be > straightforward... Thanks! -- () ascii ribbon campaign - against html mail /\ http://arc.pasp.de/ - against proprietary attachments