move file_{start,end}_write() out of do_iter_write()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 6 Jul 2017 13:15:47 +0000 (09:15 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 6 Jul 2017 13:15:47 +0000 (09:15 -0400)
commit62473a2d6f513296e896b64ccfd7ceb7b963795e
tree7c14fea07bad9d179971afaaf9c1f8954e923ed7
parenta4058c5bce8aded1a12a59990e84e481a96fb490
move file_{start,end}_write() out of do_iter_write()

... and do *not* grab it in vfs_write_iter().

Fixes: "fs: implement vfs_iter_read using do_iter_read"
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/read_write.c