From ddcabe757a9e9f260f0762a86f139d3f6efeb44c Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Mon, 24 May 2010 16:57:56 +1000 Subject: [PATCH] --- yaml --- r: 199168 b: refs/heads/master c: 176306f59ac7a35369cbba87aff13e14c5916074 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/namei.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 364c5b10efc8..08084ddf8843 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1eb2cbb6d5efe129cd006691267ce513c0aa59da +refs/heads/master: 176306f59ac7a35369cbba87aff13e14c5916074 diff --git a/trunk/fs/namei.c b/trunk/fs/namei.c index 48e1f60520ea..868d0cb9d473 100644 --- a/trunk/fs/namei.c +++ b/trunk/fs/namei.c @@ -1621,6 +1621,7 @@ static struct file *do_last(struct nameidata *nd, struct path *path, case LAST_DOTDOT: follow_dotdot(nd); dir = nd->path.dentry; + case LAST_DOT: if (nd->path.mnt->mnt_sb->s_type->fs_flags & FS_REVAL_DOT) { if (!dir->d_op->d_revalidate(dir, nd)) { error = -ESTALE; @@ -1628,7 +1629,6 @@ static struct file *do_last(struct nameidata *nd, struct path *path, } } /* fallthrough */ - case LAST_DOT: case LAST_ROOT: if (open_flag & O_CREAT) goto exit;