commit | 016936b32131d0b33328d8c109f83fabb56618a3 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Mon Dec 09 11:10:21 2019 +0000 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Jan 20 20:12:41 2020 -0500 |
tree | 6381bbae78c24b096f32180e4e7ab7e6389e3e46 | |
parent | 4287e4deb1280633ffbda608f946d6d7c2d76d4a [diff] |
fs/adfs: dir: use pointers to access directory head/tails Add and use pointers in the adfs_dir structure to access the directory head and tail structures, which will always be contiguous in a buffer. This allows us to avoid memcpy()ing the data in the new directory code, making it slightly more efficient. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>