projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7c8586
)
Don't pass nameidata when calling vfs_create() from mknod()
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 23 Jun 2011 16:35:50 +0000
(12:35 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 20 Jul 2011 05:43:49 +0000
(
01:43
-0400)
All instances can cope with that now (and ceph one actually
starts working properly).
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c
patch
|
blob
|
history
diff --git
a/fs/namei.c
b/fs/namei.c
index 42ccb97cc260dbdb7eeaed42e0b28c7e59209d07..94fd0fa2d6470a459d7c62e6631a555460f28a98 100644
(file)
--- 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,