diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-06-23 12:35:50 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-20 01:43:49 -0400 |
commit | 554a8b9f54cd7ca2b89f5dc227df08be082fae0d (patch) | |
tree | d8188a1503e744fa64dbabe6e585065e5234683b /fs/namei.c | |
parent | f7c85868fcacc331dd3454a4f08f006d7942521f (diff) | |
download | talos-obmc-linux-554a8b9f54cd7ca2b89f5dc227df08be082fae0d.tar.gz talos-obmc-linux-554a8b9f54cd7ca2b89f5dc227df08be082fae0d.zip |
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
diff --git a/fs/namei.c b/fs/namei.c index 42ccb97cc260..94fd0fa2d647 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -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, |