mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 15:13:52 +00:00
cf55902b9c
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 | ||
ashmem.c | ||
ashmem.h | ||
Kconfig | ||
lowmemorykiller.c | ||
Makefile | ||
TODO |