diff options
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r-- | fs/nfs/super.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index b68c8607770f..1d81032b226a 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c | |||
@@ -2336,7 +2336,7 @@ static int nfs_get_sb(struct file_system_type *fs_type, | |||
2336 | s, data ? data->fscache_uniq : NULL, NULL); | 2336 | s, data ? data->fscache_uniq : NULL, NULL); |
2337 | } | 2337 | } |
2338 | 2338 | ||
2339 | mntroot = nfs_get_root(s, mntfh); | 2339 | mntroot = nfs_get_root(s, mntfh, dev_name); |
2340 | if (IS_ERR(mntroot)) { | 2340 | if (IS_ERR(mntroot)) { |
2341 | error = PTR_ERR(mntroot); | 2341 | error = PTR_ERR(mntroot); |
2342 | goto error_splat_super; | 2342 | goto error_splat_super; |
@@ -2450,7 +2450,7 @@ nfs_xdev_mount(struct file_system_type *fs_type, int flags, | |||
2450 | nfs_fscache_get_super_cookie(s, NULL, data); | 2450 | nfs_fscache_get_super_cookie(s, NULL, data); |
2451 | } | 2451 | } |
2452 | 2452 | ||
2453 | mntroot = nfs_get_root(s, data->fh); | 2453 | mntroot = nfs_get_root(s, data->fh, dev_name); |
2454 | if (IS_ERR(mntroot)) { | 2454 | if (IS_ERR(mntroot)) { |
2455 | error = PTR_ERR(mntroot); | 2455 | error = PTR_ERR(mntroot); |
2456 | goto error_splat_super; | 2456 | goto error_splat_super; |
@@ -2718,7 +2718,7 @@ nfs4_remote_mount(struct file_system_type *fs_type, int flags, | |||
2718 | s, data ? data->fscache_uniq : NULL, NULL); | 2718 | s, data ? data->fscache_uniq : NULL, NULL); |
2719 | } | 2719 | } |
2720 | 2720 | ||
2721 | mntroot = nfs4_get_root(s, mntfh); | 2721 | mntroot = nfs4_get_root(s, mntfh, dev_name); |
2722 | if (IS_ERR(mntroot)) { | 2722 | if (IS_ERR(mntroot)) { |
2723 | error = PTR_ERR(mntroot); | 2723 | error = PTR_ERR(mntroot); |
2724 | goto error_splat_super; | 2724 | goto error_splat_super; |
@@ -3033,7 +3033,7 @@ nfs4_xdev_mount(struct file_system_type *fs_type, int flags, | |||
3033 | nfs_fscache_get_super_cookie(s, NULL, data); | 3033 | nfs_fscache_get_super_cookie(s, NULL, data); |
3034 | } | 3034 | } |
3035 | 3035 | ||
3036 | mntroot = nfs4_get_root(s, data->fh); | 3036 | mntroot = nfs4_get_root(s, data->fh, dev_name); |
3037 | if (IS_ERR(mntroot)) { | 3037 | if (IS_ERR(mntroot)) { |
3038 | error = PTR_ERR(mntroot); | 3038 | error = PTR_ERR(mntroot); |
3039 | goto error_splat_super; | 3039 | goto error_splat_super; |
@@ -3120,7 +3120,7 @@ nfs4_remote_referral_mount(struct file_system_type *fs_type, int flags, | |||
3120 | nfs_fscache_get_super_cookie(s, NULL, data); | 3120 | nfs_fscache_get_super_cookie(s, NULL, data); |
3121 | } | 3121 | } |
3122 | 3122 | ||
3123 | mntroot = nfs4_get_root(s, mntfh); | 3123 | mntroot = nfs4_get_root(s, mntfh, dev_name); |
3124 | if (IS_ERR(mntroot)) { | 3124 | if (IS_ERR(mntroot)) { |
3125 | error = PTR_ERR(mntroot); | 3125 | error = PTR_ERR(mntroot); |
3126 | goto error_splat_super; | 3126 | goto error_splat_super; |