From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from zeniv.linux.org.uk ([195.92.253.2]:44584 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751375AbdH3Pa1 (ORCPT ); Wed, 30 Aug 2017 11:30:27 -0400 Date: Wed, 30 Aug 2017 16:30:26 +0100 From: Al Viro To: Christoph Hellwig Cc: arve@android.com, riandrews@android.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 02/16] autofs4: switch autofs4_write to __kernel_write Message-ID: <20170830153026.GM5426@ZenIV.linux.org.uk> References: <20170830150007.3953-1-hch@lst.de> <20170830150007.3953-3-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170830150007.3953-3-hch@lst.de> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, Aug 30, 2017 at 04:59:53PM +0200, Christoph Hellwig wrote: > Instead of playing games with the address limit.. I wonder... Do we verify that it's a pipe? If so, ->f_pos can (and should) be left alone...