Home
last modified time | relevance | path

Searched hist:"067 c054fb9c90811ae38898ce649f8dafa13354c" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/ocfs2/dlmfs/
H A Duserdlm.hdiff 067c054fb9c90811ae38898ce649f8dafa13354c Sun Jun 14 18:04:42 CDT 2020 Al Viro <viro@zeniv.linux.org.uk> 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>
H A Duserdlm.cdiff 067c054fb9c90811ae38898ce649f8dafa13354c Sun Jun 14 18:04:42 CDT 2020 Al Viro <viro@zeniv.linux.org.uk> 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>
H A Ddlmfs.cdiff 067c054fb9c90811ae38898ce649f8dafa13354c Sun Jun 14 18:04:42 CDT 2020 Al Viro <viro@zeniv.linux.org.uk> 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>