xfs
[Top] [All Lists]

Re: [PATCH 3/5] xfs: add xfs_create_tmpfile() for O_TMPFILE support

To: Zhi Yong Wu <zwu.kernel@xxxxxxxxx>
Subject: Re: [PATCH 3/5] xfs: add xfs_create_tmpfile() for O_TMPFILE support
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Fri, 13 Dec 2013 08:37:33 -0800
Cc: xfs@xxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1386944873-16796-4-git-send-email-zwu.kernel@xxxxxxxxx>
References: <1386944873-16796-1-git-send-email-zwu.kernel@xxxxxxxxx> <1386944873-16796-4-git-send-email-zwu.kernel@xxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
> +     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.

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