projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
attr: handle idmapped mounts
[linux-2.6-microblaze.git]
/
lib
/
iov_iter.c
diff --git
a/lib/iov_iter.c
b/lib/iov_iter.c
index
1635111
..
a21e6a5
100644
(file)
--- a/
lib/iov_iter.c
+++ b/
lib/iov_iter.c
@@
-1658,7
+1658,7
@@
static int copy_compat_iovec_from_user(struct iovec *iov,
(const struct compat_iovec __user *)uvec;
int ret = -EFAULT, i;
(const struct compat_iovec __user *)uvec;
int ret = -EFAULT, i;
- if (!user_access_begin(u
vec, nr_segs * sizeof(*uvec
)))
+ if (!user_access_begin(u
iov, nr_segs * sizeof(*uiov
)))
return -EFAULT;
for (i = 0; i < nr_segs; i++) {
return -EFAULT;
for (i = 0; i < nr_segs; i++) {