diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-20 12:39:20 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-20 12:39:20 -0400 |
| commit | 52c6738b7f46255217942062dfa60daa7cf72510 (patch) | |
| tree | 9fa9fcdef7b44f6d71e5bb5de0e248a368808cc1 /fs/nfs/super.c | |
| parent | 3b72e4415438538c0967fd1aee930f688ccdf6dd (diff) | |
| parent | ec9a05c94c7cd00b4f0ab126c3d394f2fc2e4712 (diff) | |
Merge git://git.linux-nfs.org/projects/trondmy/nfs-2.6
* git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
NFS: use correct fs type for v4 submounts and referrals
Make nfs_file_cred more robust.
NFS: Enable NFSv4 callback server to listen on AF_INET6 sockets
Diffstat (limited to 'fs/nfs/super.c')
| -rw-r--r-- | fs/nfs/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index 8b28b95c9e44..a3b0061dfd45 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c | |||
| @@ -2459,7 +2459,7 @@ static int nfs4_xdev_get_sb(struct file_system_type *fs_type, int flags, | |||
| 2459 | compare_super = NULL; | 2459 | compare_super = NULL; |
| 2460 | 2460 | ||
| 2461 | /* Get a superblock - note that we may end up sharing one that already exists */ | 2461 | /* Get a superblock - note that we may end up sharing one that already exists */ |
| 2462 | s = sget(&nfs_fs_type, compare_super, nfs_set_super, &sb_mntdata); | 2462 | s = sget(&nfs4_fs_type, compare_super, nfs_set_super, &sb_mntdata); |
| 2463 | if (IS_ERR(s)) { | 2463 | if (IS_ERR(s)) { |
| 2464 | error = PTR_ERR(s); | 2464 | error = PTR_ERR(s); |
| 2465 | goto out_err_nosb; | 2465 | goto out_err_nosb; |
| @@ -2544,7 +2544,7 @@ static int nfs4_referral_get_sb(struct file_system_type *fs_type, int flags, | |||
| 2544 | compare_super = NULL; | 2544 | compare_super = NULL; |
| 2545 | 2545 | ||
| 2546 | /* Get a superblock - note that we may end up sharing one that already exists */ | 2546 | /* Get a superblock - note that we may end up sharing one that already exists */ |
| 2547 | s = sget(&nfs_fs_type, compare_super, nfs_set_super, &sb_mntdata); | 2547 | s = sget(&nfs4_fs_type, compare_super, nfs_set_super, &sb_mntdata); |
| 2548 | if (IS_ERR(s)) { | 2548 | if (IS_ERR(s)) { |
| 2549 | error = PTR_ERR(s); | 2549 | error = PTR_ERR(s); |
| 2550 | goto out_err_nosb; | 2550 | goto out_err_nosb; |
