From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (Postfix) with ESMTP id 1B45D7F54 for ; Mon, 25 Nov 2013 07:43:04 -0600 (CST) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by relay1.corp.sgi.com (Postfix) with ESMTP id F26558F8078 for ; Mon, 25 Nov 2013 05:43:03 -0800 (PST) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) by cuda.sgi.com with ESMTP id nvBfmQhabWe2rfoQ (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 25 Nov 2013 05:43:03 -0800 (PST) Date: Mon, 25 Nov 2013 05:43:01 -0800 From: Christoph Hellwig Subject: Re: [RFC PATCH 1/4] xfs: adjust the interface of xfs_qm_vop_dqalloc() Message-ID: <20131125134301.GA30189@infradead.org> References: <1385379154-3802-1-git-send-email-zwu.kernel@gmail.com> <1385379154-3802-2-git-send-email-zwu.kernel@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1385379154-3802-2-git-send-email-zwu.kernel@gmail.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Zhi Yong Wu Cc: Zhi Yong Wu , xfs@oss.sgi.com On Mon, Nov 25, 2013 at 07:32:31PM +0800, Zhi Yong Wu wrote: > From: Zhi Yong Wu > > There isn't a parent inode or a name for O_TMPFILE support, but will pass > a struct xfs_mount to xfs_qm_vop_dqalloc(). So its interface need to be > adjusted in order that O_TMPFILE creation function can also use it. Yes, there is. The tmpfile method gets the parent directory passed as it's first argument. _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs