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>
diff --git a/fs/logfs/dir.c b/fs/logfs/dir.c index 8a3dcc6..26e4a94 100644 --- a/fs/logfs/dir.c +++ b/fs/logfs/dir.c
@@ -502,7 +502,7 @@ } static int logfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, - struct nameidata *nd) + bool excl) { struct inode *inode;