Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4891580ybi; Tue, 28 May 2019 04:20:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+JZyy8LPAxNJdJfQL+IkM8IPa0zaU6i6Qtf4Xj32mVpnDyRbgABJLBpy0h6lbmaNJof9S X-Received: by 2002:a63:f957:: with SMTP id q23mr4929206pgk.326.1559042424507; Tue, 28 May 2019 04:20:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559042424; cv=none; d=google.com; s=arc-20160816; b=miwdshtRqfw0apQlX5Z+4ZdSCFLfsyEybMwccPbXUHU/82+YnOaUK9jxO4WSgiNJif 49xXo3X1dmheXe5fHc4MVByBY7rfJfiBw4Tehevu/nfMfCsV7i59xIZtzzkEIBgHz4F2 qTijC+hLqtnQkP4BgwLzytwV3/OPuPm6+huhQ5Le51KA8dWU56VyzChCVSDntlLplfqL RfMODlyPqOC7myEkuGP97ktamDYtGkiWigKuscRv1pyY5NChFeJoapJldakNYOTXLdRH li8tUsMCs9l3Y1/uWIYGJDOeNELdj5rc+x9Dh0n9gzXJJRbMsJE3GSUt8grNlnvF4g0R g73w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=HQNOdOjjGDGk4RgWH+RaDkfrtmFCoE8YooXdN+q87MI=; b=LJBdG379J3SbqhI7kShAWSOxC6jnIUPjyLdhQ5jJZ3lBrCC4WghDazMCmd0rOow+Gm 7L9Ru8dV22IRm0wVl568fkrk3PqN7rPAXLbJ/Vw+w0F9zzywJv0UCRphbemBmQ3GJJsg 0VwjzgLqoRSB8eKuMoUxVRjuXe4OnkeRqdPbmCo2SGIDd5NMCRyRXoqb82M9RH+448oi C6UFbsfWiJAy09uzOzkIRqiIY/cm67Weopd4gzHUOOEzhxq03oIOaWKZK0xmg6aM5kM+ GHF4NYGBYj73dGfLXsraOZl96xP+ckNKc/T5szyOSlu8yU+dsPV3OlnMiFrXuiuDZgqz h2iA== ARC-Authentication-Results: i=1; mx.google.com; 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 p96si3745418pjp.31.2019.05.28.04.20.07; Tue, 28 May 2019 04:20:24 -0700 (PDT) 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; 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 S1726744AbfE1LRA (ORCPT + 99 others); Tue, 28 May 2019 07:17:00 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:34155 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726345AbfE1LRA (ORCPT ); Tue, 28 May 2019 07:17:00 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 696BC803CA; Tue, 28 May 2019 13:16:48 +0200 (CEST) Date: Tue, 28 May 2019 13:16:58 +0200 From: Pavel Machek To: pavel@ucw.cz Cc: linux-kernel@vger.kernel.org, Kirill Smelkov , Miklos Szeredi Subject: Re: [PATCH 4.19 082/114] fuse: Add FOPEN_STREAM to use stream_open() Message-ID: <20190528111657.GA23674@amd> References: <20190523181731.372074275@linuxfoundation.org> <20190523181739.135794147@linuxfoundation.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ikeVEW9yuYc//A+q" Content-Disposition: inline In-Reply-To: <20190523181739.135794147@linuxfoundation.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ikeVEW9yuYc//A+q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > +++ b/include/uapi/linux/fuse.h > @@ -219,10 +219,12 @@ struct fuse_file_lock { > * FOPEN_DIRECT_IO: bypass page cache for this open file > * FOPEN_KEEP_CACHE: don't invalidate the data cache on open > * FOPEN_NONSEEKABLE: the file is not seekable > + * FOPEN_STREAM: the file is stream-like (no file position at all) > */ > #define FOPEN_DIRECT_IO (1 << 0) > #define FOPEN_KEEP_CACHE (1 << 1) > #define FOPEN_NONSEEKABLE (1 << 2) > +#define FOPEN_STREAM (1 << 4) Interesting choice of constants. It is too late to change it now, but was (1 << 3) meant here? Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --ikeVEW9yuYc//A+q Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlztGKkACgkQMOfwapXb+vLX3ACdGqLX+DFoYE64Oxz33y2VQL2O +RcAoLwY/oFFXTwZOBVTJdr0oqoXPDTR =KbD4 -----END PGP SIGNATURE----- --ikeVEW9yuYc//A+q--