Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115389
b: refs/heads/master
c: 44d5759
h: refs/heads/master
i:
  115387: 5cef5d1
v: v3
  • Loading branch information
Denis V. Lunev authored and Trond Myklebust committed Oct 7, 2008
1 parent 9c5911a commit c700ec9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c9f6cde6e26ef98ee9c4b6288b126ac9c580d88b
refs/heads/master: 44d5759d3fdad660f000ef319f0ec33a6ac6ae28
5 changes: 4 additions & 1 deletion trunk/fs/nfs/namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ static void * nfs_follow_mountpoint(struct dentry *dentry, struct nameidata *nd)

dprintk("--> nfs_follow_mountpoint()\n");

BUG_ON(IS_ROOT(dentry));
err = -ESTALE;
if (IS_ROOT(dentry))
goto out_err;

dprintk("%s: enter\n", __func__);
dput(nd->path.dentry);
nd->path.dentry = dget(dentry);
Expand Down

0 comments on commit c700ec9

Please sign in to comment.