xfs
[Top] [All Lists]

Re: [RFC PATCH 1/4] xfs: adjust the interface of xfs_qm_vop_dqalloc()

To: Zhi Yong Wu <zwu.kernel@xxxxxxxxx>
Subject: Re: [RFC PATCH 1/4] xfs: adjust the interface of xfs_qm_vop_dqalloc()
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Mon, 25 Nov 2013 05:43:01 -0800
Cc: xfs@xxxxxxxxxxx, Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1385379154-3802-2-git-send-email-zwu.kernel@xxxxxxxxx>
References: <1385379154-3802-1-git-send-email-zwu.kernel@xxxxxxxxx> <1385379154-3802-2-git-send-email-zwu.kernel@xxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Mon, Nov 25, 2013 at 07:32:31PM +0800, Zhi Yong Wu wrote:
> From: Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx>
> 
> 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.

<Prev in Thread] Current Thread [Next in Thread>