Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74172
b: refs/heads/master
c: 4c1fe2f
h: refs/heads/master
v: v3
  • Loading branch information
Neil Brown authored and Trond Myklebust committed Nov 17, 2007
1 parent 452bd96 commit 964e184
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eda4f9b7996e5520934ca2a7310b363463a4e3b0
refs/heads/master: 4c1fe2f78a08e2c514a39c91a0eb7b55bbd3c0d2
5 changes: 5 additions & 0 deletions trunk/fs/nfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1474,6 +1474,11 @@ static int nfs_xdev_get_sb(struct file_system_type *fs_type, int flags,
error = PTR_ERR(mntroot);
goto error_splat_super;
}
if (mntroot->d_inode->i_op != &nfs_dir_inode_operations) {
dput(mntroot);
error = -ESTALE;
goto error_splat_super;
}

s->s_flags |= MS_ACTIVE;
mnt->mnt_sb = s;
Expand Down

0 comments on commit 964e184

Please sign in to comment.