fuse: fix retrieve length
authorMiklos Szeredi <mszeredi@suse.cz>
Tue, 4 Sep 2012 16:45:54 +0000 (18:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Sep 2012 17:00:50 +0000 (10:00 -0700)
commitfd63204e4873e9cbabd819ffdc15f3bcd85c6674
tree4fdd5faf5efe3e5fbc55d7b186dcd0f4e73c5aa5
parent04234b36211285e5242794b75137f42f177e0ef5
fuse: fix retrieve length

commit c9e67d483776d8d2a5f3f70491161b205930ffe1 upstream.

In some cases fuse_retrieve() would return a short byte count if offset was
non-zero.  The data returned was correct, though.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/fuse/dev.c