diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-12-09 11:09:30 +0000 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-01-20 20:12:41 -0500 |
commit | a317120bf7f8306b594ee650ee14f08a0e599602 (patch) | |
tree | 4725119a5fbeccba04b2babcc345c34fefa51478 /fs/jffs2 | |
parent | acf5f0be8a520c02bfed74cfc6735bf5fdd4a9e5 (diff) | |
download | linux-a317120bf7f8306b594ee650ee14f08a0e599602.tar.bz2 |
fs/adfs: dir: add generic copy functions
Directories can span multiple buffers, and we currently open-code
memcpy access to these buffers, including dealing with entries that
are split across multiple buffers. Such code exists in both
directory format implementations.
Provide common functions to allow data to be copied from/to the
directory buffers as if they were a contiguous set of buffers, and
use them when accessing directories.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions