From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from verein.lst.de ([213.95.11.211]:59996 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751670AbdIAKWt (ORCPT ); Fri, 1 Sep 2017 06:22:49 -0400 Date: Fri, 1 Sep 2017 12:22:48 +0200 From: Christoph Hellwig To: Al Viro Cc: Christoph Hellwig , 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: <20170901102248.GB25178@lst.de> References: <20170830150007.3953-1-hch@lst.de> <20170830150007.3953-3-hch@lst.de> <20170830153026.GM5426@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170830153026.GM5426@ZenIV.linux.org.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, Aug 30, 2017 at 04:30:26PM +0100, Al Viro wrote: > 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... currently nothing in autofs_dev_ioctl_setpipefd verifies that it's a pipe.