Searched hist:c0cf3ef5e0f47e385920450b245d22bead93e7ad (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/nfs/ |
H A D | file.c | diff c0cf3ef5e0f47e385920450b245d22bead93e7ad Mon Sep 05 20:42:32 CDT 2016 Al Viro <viro@zeniv.linux.org.uk> nfs_write_end(): fix handling of short copies
What matters when deciding if we should make a page uptodate is not how much we _wanted_ to copy, but how much we actually have copied. As it is, on architectures that do not zero tail on short copy we can leave uninitialized data in page marked uptodate.
Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|