git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging: speakup_soft: Fix reading of init string
[pandora-kernel.git]
/
fs
/
namei.c
diff --git
a/fs/namei.c
b/fs/namei.c
index
b8344d0
..
9680cef
100644
(file)
--- a/
fs/namei.c
+++ b/
fs/namei.c
@@
-2238,7
+2238,7
@@
static struct file *do_last(struct nameidata *nd, struct path *path,
/* Why this, you ask? _Now_ we might have grown LOOKUP_JUMPED... */
error = complete_walk(nd);
if (error)
-
goto exit
;
+
return ERR_PTR(error)
;
error = -EISDIR;
if (S_ISDIR(nd->inode->i_mode))
goto exit;