Commit 1ee48bdd authored by Olga Kornievskaia's avatar Olga Kornievskaia Committed by Anna Schumaker

NFSv4.2 fix size storage for nfs42_proc_copy

Return size of COPY is u64 but it was assigned to an "int" status.
Signed-off-by: default avatarOlga Kornievskaia <kolga@netapp.com>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 6afafa77
...@@ -146,7 +146,7 @@ static ssize_t _nfs42_proc_copy(struct file *src, ...@@ -146,7 +146,7 @@ static ssize_t _nfs42_proc_copy(struct file *src,
loff_t pos_src = args->src_pos; loff_t pos_src = args->src_pos;
loff_t pos_dst = args->dst_pos; loff_t pos_dst = args->dst_pos;
size_t count = args->count; size_t count = args->count;
int status; ssize_t status;
status = nfs4_set_rw_stateid(&args->src_stateid, src_lock->open_context, status = nfs4_set_rw_stateid(&args->src_stateid, src_lock->open_context,
src_lock, FMODE_READ); src_lock, FMODE_READ);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment