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>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user