projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6afafa7
)
NFSv4.2 fix size storage for nfs42_proc_copy
author
Olga Kornievskaia
<kolga@netapp.com>
Thu, 6 Jul 2017 13:43:02 +0000
(09:43 -0400)
committer
Anna Schumaker
<Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 20:00:14 +0000
(16:00 -0400)
Return size of COPY is u64 but it was assigned to an "int" status.
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs42proc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/nfs42proc.c
b/fs/nfs/nfs42proc.c
index 319a47db218d133d36b749641b63e5fa4489014c..6c2db51e67a77422cead4b27fb83fa3695d1eb91 100644
(file)
--- a/
fs/nfs/nfs42proc.c
+++ b/
fs/nfs/nfs42proc.c
@@
-146,7
+146,7
@@
static ssize_t _nfs42_proc_copy(struct file *src,
loff_t pos_src = args->src_pos;
loff_t pos_dst = args->dst_pos;
size_t count = args->count;
-
in
t status;
+
ssize_
t status;
status = nfs4_set_rw_stateid(&args->src_stateid, src_lock->open_context,
src_lock, FMODE_READ);