summaryrefslogtreecommitdiffstats
path: root/fs/jffs2
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-12-09 11:09:30 +0000
committerAl Viro <viro@zeniv.linux.org.uk>2020-01-20 20:12:41 -0500
commita317120bf7f8306b594ee650ee14f08a0e599602 (patch)
tree4725119a5fbeccba04b2babcc345c34fefa51478 /fs/jffs2
parentacf5f0be8a520c02bfed74cfc6735bf5fdd4a9e5 (diff)
downloadlinux-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