]> 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)
commitbd64a262d9f0d15e5f1ffcbf6ae86a0ff24d9406
treec57749e0221aff9d8fb07786d7821f2ce80fcdfa
parent75459573f5fff6a4d38c5621db69da7819115538
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