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:
55db2fd
)
do_last(): get rid of duplicate ELOOP check
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 27 Apr 2016 06:52:55 +0000
(
02:52
-0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 2 May 2016 23:51:13 +0000
(19:51 -0400)
may_open() will catch it
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 ed48178ada1903bdc5c8c24c9ce11dab619da5ef..6503767746f6a644421e6df6ca011204977e6c09 100644
(file)
--- a/
fs/namei.c
+++ b/
fs/namei.c
@@
-3195,10
+3195,6
@@
finish_open:
return error;
}
audit_inode(nd->name, nd->path.dentry, 0);
- if (unlikely(d_is_symlink(nd->path.dentry))) {
- error = -ELOOP;
- goto out;
- }
error = -EISDIR;
if ((open_flag & O_CREAT) && d_is_dir(nd->path.dentry))
goto out;