From: Christoph Hellwig Subject: Re: [PATCH 3/5] xfs: add xfs_create_tmpfile() for O_TMPFILE support Date: Fri, 13 Dec 2013 08:37:33 -0800 Message-ID: <20131213163733.GF20803@infradead.org> References: <1386944873-16796-1-git-send-email-zwu.kernel@gmail.com> <1386944873-16796-4-git-send-email-zwu.kernel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: xfs@oss.sgi.com, linux-fsdevel@vger.kernel.org, Zhi Yong Wu , linux-kernel@vger.kernel.org To: Zhi Yong Wu Return-path: Content-Disposition: inline In-Reply-To: <1386944873-16796-4-git-send-email-zwu.kernel@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org > + error = xfs_dir_ialloc(&tp, NULL, mode, 0, rdev, please pass the parent inode pointer here. > + XFS_PROJID_DEFAULT, resblks > 0, and pass the project id that you inherited from the parent here.