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

Christoph Hellwig hch at infradead.org
Mon Nov 25 07:43:01 CST 2013


On Mon, Nov 25, 2013 at 07:32:31PM +0800, Zhi Yong Wu wrote:
> From: Zhi Yong Wu <wuzhy at linux.vnet.ibm.com>
> 
> 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.



More information about the xfs mailing list