commit | 067c054fb9c90811ae38898ce649f8dafa13354c | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Jun 14 19:04:42 2020 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun Jun 14 19:04:42 2020 -0400 |
tree | 43d5ab6f4005b6e53d9a52e4cc7e8a5ffd6329fe | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 [diff] |
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>