diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-06-23 16:35:50 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-20 05:43:49 (GMT) |
commit | 554a8b9f54cd7ca2b89f5dc227df08be082fae0d (patch) | |
tree | d8188a1503e744fa64dbabe6e585065e5234683b /fs/namei.c | |
parent | f7c85868fcacc331dd3454a4f08f006d7942521f (diff) | |
download | linux-fsl-qoriq-554a8b9f54cd7ca2b89f5dc227df08be082fae0d.tar.xz |
Don't pass nameidata when calling vfs_create() from mknod()
All instances can cope with that now (and ceph one actually
starts working properly).
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2411,7 +2411,7 @@ SYSCALL_DEFINE4(mknodat, int, dfd, const char __user *, filename, int, mode, goto out_drop_write; switch (mode & S_IFMT) { case 0: case S_IFREG: - error = vfs_create(nd.path.dentry->d_inode,dentry,mode,&nd); + error = vfs_create(nd.path.dentry->d_inode,dentry,mode,NULL); break; case S_IFCHR: case S_IFBLK: error = vfs_mknod(nd.path.dentry->d_inode,dentry,mode, |