From 69e2b1704d2e4b9fae39a33329012a46b920786c Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Tue, 6 Mar 2012 13:56:33 +0100 Subject: [PATCH] --- yaml --- r: 288421 b: refs/heads/master c: 097b180ca09b581ef0dc24fbcfc1b227de3875df h: refs/heads/master i: 288419: 719f1508c3b0a3e7cbc83e5e7d2ca7b8516f6121 v: v3 --- [refs] | 2 +- trunk/fs/namei.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;