commit | 2c932d4c9165ddbe417af612dbe2113df7f2057e | [log] [tgz] |
---|---|---|
author | Ashish Samant <ashish.samant@oracle.com> | Fri Mar 25 10:53:41 2016 -0700 |
committer | Miklos Szeredi <mszeredi@veci.piliscsaba.szeredi.hu> | Mon Apr 25 13:01:04 2016 +0200 |
tree | bac3819e0bb3e00b479655f01c187470d8452418 | |
parent | 02da2d72174c61988eb4456b53f405e3ebdebce4 [diff] |
fuse: Fix return value from fuse_get_user_pages() fuse_get_user_pages() should return error or 0. Otherwise fuse_direct_io read will not return 0 to indicate that read has completed. Fixes: 742f992708df ("fuse: return patrial success from fuse_direct_io()") Signed-off-by: Ashish Samant <ashish.samant@oracle.com> Signed-off-by: Seth Forshee <seth.forshee@canonical.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>