diff --git a/[refs] b/[refs] index e1163a9eb27c..722ad87db343 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f6940fe9092e796119af691c7f722c252f4fc524 +refs/heads/master: 097b180ca09b581ef0dc24fbcfc1b227de3875df diff --git a/trunk/fs/namei.c b/trunk/fs/namei.c index e2ba62820a0f..f79aef16320b 100644 --- a/trunk/fs/namei.c +++ b/trunk/fs/namei.c @@ -2261,7 +2261,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;