]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - fs/read_write.c
fs: move more code into do_iter_read/do_iter_write
authorChristoph Hellwig <hch@lst.de>
Sat, 27 May 2017 08:16:49 +0000 (11:16 +0300)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 29 Jun 2017 21:49:22 +0000 (17:49 -0400)
commitedab5fe38c2c17a7d7ea5f82e1d9503bfc79a8ac
tree1de02e2d99dd9023809b778a81774595dddacf2d
parent19c735868dd018fd432d0df43aaf2d5ecb7c1256
fs: move more code into do_iter_read/do_iter_write

The checks for the permissions and can read / write flags are common
for the callers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/read_write.c