diff options
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 62bbe25d9423..e08edc99faac 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -3722,10 +3722,13 @@ int nfs4_proc_fs_locations(struct inode *dir, const struct qstr *name, | |||
3722 | .page = page, | 3722 | .page = page, |
3723 | .bitmask = bitmask, | 3723 | .bitmask = bitmask, |
3724 | }; | 3724 | }; |
3725 | struct nfs4_fs_locations_res res = { | ||
3726 | .fs_locations = fs_locations, | ||
3727 | }; | ||
3725 | struct rpc_message msg = { | 3728 | struct rpc_message msg = { |
3726 | .rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_FS_LOCATIONS], | 3729 | .rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_FS_LOCATIONS], |
3727 | .rpc_argp = &args, | 3730 | .rpc_argp = &args, |
3728 | .rpc_resp = fs_locations, | 3731 | .rpc_resp = &res, |
3729 | }; | 3732 | }; |
3730 | int status; | 3733 | int status; |
3731 | 3734 | ||