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

2013-12-13 Thread Zhi Yong Wu
Fixed them, thanks. On Sat, Dec 14, 2013 at 12:37 AM, Christoph Hellwig wrote: >> + 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 inherite

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

2013-12-13 Thread Christoph Hellwig
> + 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. -- To unsubscribe from this list: send the line "unsubscribe linu

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

2013-12-13 Thread Zhi Yong Wu
From: Zhi Yong Wu The function is used to create one O_TMPFILE file. For more info, please refer to: http://oss.sgi.com/archives/xfs/2013-08/msg00339.html Signed-off-by: Zhi Yong Wu --- fs/xfs/xfs_inode.c | 106 +++ fs/xfs/xfs_inode.h |