fuse: Prepare to handle short reads
authorPavel Emelyanov <xemul@openvz.org>
Thu, 10 Oct 2013 13:10:16 +0000 (17:10 +0400)
committerMiklos Szeredi <mszeredi@suse.cz>
Wed, 2 Apr 2014 13:38:47 +0000 (15:38 +0200)
commita92adc824ed5feaa2d4f7029f21170f574987aee
treec9eff424e5bcdf453915d7c6aed709d0d0fb24eb
parent650b22b941fa03590c4a3671e79ec2c96ea59e9a
fuse: Prepare to handle short reads

A helper which gets called when read reports less bytes than was requested.
See patch "trust kernel i_size only" for details.

Signed-off-by: Maxim Patlasov <MPatlasov@parallels.com>
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
fs/fuse/file.c