don't pass nameidata to ->create()

boolean "does it have to be exclusive?" flag is passed instead;
Local filesystem should just ignore it - the object is guaranteed
not to be there yet.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
此提交包含在:
Al Viro
2012-06-10 18:05:36 -04:00
父節點 72bd866a01
當前提交 ebfc3b49a7
共有 51 個檔案被更改,包括 62 行新增64 行删除

查看文件

@@ -179,7 +179,7 @@ xfs_vn_create(
struct inode *dir,
struct dentry *dentry,
umode_t mode,
struct nameidata *nd)
bool flags)
{
return xfs_vn_mknod(dir, dentry, mode, 0);
}