]> git.baikalelectronics.ru Git - kernel.git/commit
fix ceph_write_end()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 6 Sep 2016 02:20:03 +0000 (22:20 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 10 Dec 2016 19:24:45 +0000 (14:24 -0500)
commit98a84e66e5825d39dbf997bb41ab8deb13910ea2
treec57749e0221aff9d8fb07786d7821f2ce80fcdfa
parentac9e5e3de76e0c4616cbdac326ebaf02bde25576
fix ceph_write_end()

don't zero on short copies; if the page was uptodate it's just plain
wrong, and if it wasn't we'll be better off just returning 0 and
buggering off.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ceph/addr.c