From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [PATCH 1/4] locks: new locks_mandatory_area calling convention Date: Tue, 8 Dec 2015 16:16:46 +0000 Message-ID: <20151208161646.GO20997@ZenIV.linux.org.uk> References: <1449143992-7415-1-git-send-email-hch@lst.de> <1449143992-7415-2-git-send-email-hch@lst.de> <20151208040504.GA2791@ZenIV.linux.org.uk> <20151208145453.GA3621@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: tao.peng-7I+n7zu2hftEKMMhf/gKZA@public.gmane.org, jeff.layton-7I+n7zu2hftEKMMhf/gKZA@public.gmane.org, bfields-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org, linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-btrfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Christoph Hellwig Return-path: Content-Disposition: inline In-Reply-To: <20151208145453.GA3621-jcswGhMUV9g@public.gmane.org> Sender: linux-nfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-cifs.vger.kernel.org On Tue, Dec 08, 2015 at 03:54:53PM +0100, Christoph Hellwig wrote: > On Tue, Dec 08, 2015 at 04:05:04AM +0000, Al Viro wrote: > > Where the hell would truncate(2) get struct file, anyway? IOW, the inode > > argument is _not_ pointless; re-added. > > Oh, right. Interestingly is seems like xfstests has no coverage of this > code path at all. LTP does (ftruncate04)... -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from zeniv.linux.org.uk ([195.92.253.2]:41798 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933315AbbLHQQt (ORCPT ); Tue, 8 Dec 2015 11:16:49 -0500 Date: Tue, 8 Dec 2015 16:16:46 +0000 From: Al Viro To: Christoph Hellwig Cc: tao.peng@primarydata.com, jeff.layton@primarydata.com, bfields@fieldses.org, linux-fsdevel@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-cifs@vger.kernel.org Subject: Re: [PATCH 1/4] locks: new locks_mandatory_area calling convention Message-ID: <20151208161646.GO20997@ZenIV.linux.org.uk> References: <1449143992-7415-1-git-send-email-hch@lst.de> <1449143992-7415-2-git-send-email-hch@lst.de> <20151208040504.GA2791@ZenIV.linux.org.uk> <20151208145453.GA3621@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20151208145453.GA3621@lst.de> Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Tue, Dec 08, 2015 at 03:54:53PM +0100, Christoph Hellwig wrote: > On Tue, Dec 08, 2015 at 04:05:04AM +0000, Al Viro wrote: > > Where the hell would truncate(2) get struct file, anyway? IOW, the inode > > argument is _not_ pointless; re-added. > > Oh, right. Interestingly is seems like xfstests has no coverage of this > code path at all. LTP does (ftruncate04)...