]> git.karo-electronics.de Git - linux-beck.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)
commitb9de313cf05fe08fa59efaf19756ec5283af672a
treec57749e0221aff9d8fb07786d7821f2ce80fcdfa
parentc0cf3ef5e0f47e385920450b245d22bead93e7ad
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