fs: Share code between mem_write()/mem_read()
Rename memcpy_sz() to mem_copy() and move all of the identical code
from mem_write()/mem_read() there.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent d60e9aa commit 504ac299a531a0bd601e6db05dc1c2d3b86a9700
@Andrey Smirnov Andrey Smirnov authored on 29 Jan 2019
Sascha Hauer committed on 6 Feb 2019
Showing 1 changed file
View
fs/devfs-core.c