diff options
| author | 2020-06-14 19:04:42 -0400 | |
|---|---|---|
| committer | 2020-06-14 19:04:42 -0400 | |
| commit | 067c054fb9c90811ae38898ce649f8dafa13354c (patch) | |
| tree | 43d5ab6f4005b6e53d9a52e4cc7e8a5ffd6329fe /tools | |
| parent | Linux 5.8-rc1 (diff) | |
| download | wireguard-linux-067c054fb9c90811ae38898ce649f8dafa13354c.tar.xz wireguard-linux-067c054fb9c90811ae38898ce649f8dafa13354c.zip | |
dlmfs: clean up dlmfs_file_{read,write}() a bit
The damn file is constant-sized - 64 bytes. IOW,
* i_size_read() is pointless
* so's dynamic allocation
* so's the 'size' argument of user_dlm_read_lvb()
* ... and so's open-coding simple_read_from_buffer(), while we are at it.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
