Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242405
b: refs/heads/master
c: 4667058
h: refs/heads/master
i:
  242403: 5e5f36b
v: v3
  • Loading branch information
Gusev Vitaliy authored and Trond Myklebust committed Mar 23, 2011
1 parent b463023 commit ec01d3f
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 246408dcd5dfeef2df437ccb0ef4d6ee87805f58
refs/heads/master: 4667058b772857069378aa8f417203156e315e82
4 changes: 4 additions & 0 deletions trunk/fs/nfs/getroot.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ struct dentry *nfs4_get_root(struct super_block *sb, struct nfs_fh *mntfh)
goto out;
}

if (fattr->valid & NFS_ATTR_FATTR_FSID &&
!nfs_fsid_equal(&server->fsid, &fattr->fsid))
memcpy(&server->fsid, &fattr->fsid, sizeof(server->fsid));

inode = nfs_fhget(sb, mntfh, fattr);
if (IS_ERR(inode)) {
dprintk("nfs_get_root: get root inode failed\n");
Expand Down

0 comments on commit ec01d3f

Please sign in to comment.