Loading fs/fuse/file.c +7 −3 Original line number Original line Diff line number Diff line /* /* FUSE: Filesystem in Userspace FUSE: Filesystem in Userspace Copyright (C) 2001-2005 Miklos Szeredi <miklos@szeredi.hu> Copyright (C) 2001-2006 Miklos Szeredi <miklos@szeredi.hu> This program can be distributed under the terms of the GNU GPL. This program can be distributed under the terms of the GNU GPL. See the file COPYING. See the file COPYING. Loading Loading @@ -565,8 +565,12 @@ static ssize_t fuse_direct_io(struct file *file, const char __user *buf, buf += nres; buf += nres; if (nres != nbytes) if (nres != nbytes) break; break; if (count) if (count) { fuse_reset_request(req); fuse_put_request(fc, req); req = fuse_get_req(fc); if (IS_ERR(req)) break; } } } fuse_put_request(fc, req); fuse_put_request(fc, req); if (res > 0) { if (res > 0) { Loading Loading
fs/fuse/file.c +7 −3 Original line number Original line Diff line number Diff line /* /* FUSE: Filesystem in Userspace FUSE: Filesystem in Userspace Copyright (C) 2001-2005 Miklos Szeredi <miklos@szeredi.hu> Copyright (C) 2001-2006 Miklos Szeredi <miklos@szeredi.hu> This program can be distributed under the terms of the GNU GPL. This program can be distributed under the terms of the GNU GPL. See the file COPYING. See the file COPYING. Loading Loading @@ -565,8 +565,12 @@ static ssize_t fuse_direct_io(struct file *file, const char __user *buf, buf += nres; buf += nres; if (nres != nbytes) if (nres != nbytes) break; break; if (count) if (count) { fuse_reset_request(req); fuse_put_request(fc, req); req = fuse_get_req(fc); if (IS_ERR(req)) break; } } } fuse_put_request(fc, req); fuse_put_request(fc, req); if (res > 0) { if (res > 0) { Loading