]> git.baikalelectronics.ru Git - kernel.git/commit
fs: Allow a NULL pos pointer to __kernel_read
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 3 Oct 2020 02:55:23 +0000 (03:55 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 15 Oct 2020 18:20:42 +0000 (14:20 -0400)
commitcbb18a50c384e4f26fc1ce59eda5a4dfe8a2afa8
tree68a8569904410301bbeb6567788a2882d144b504
parent72626ce0a6c45710ff8658312ed12ce0066d9250
fs: Allow a NULL pos pointer to __kernel_read

Match the behaviour of new_sync_read() and __kernel_write().

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/read_write.c