mirror of https://github.com/torvalds/linux.git
If the copy_to_user() fails we should unlock and return directly without
updating "cnt". Also the return value should be -EFAULT instead of the
number of bytes remaining.
Fixes:
|
||
|---|---|---|
| .. | ||
| ion | ||
| uapi | ||
| Kconfig | ||
| Makefile | ||
| TODO | ||
| ashmem.c | ||
| ashmem.h | ||
| lowmemorykiller.c | ||