Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 70760
b: refs/heads/master
c: c9c9d7d
h: refs/heads/master
v: v3
  • Loading branch information
Miklos Szeredi authored and Linus Torvalds committed Oct 17, 2007
1 parent e2db253 commit d65d0e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a131de0a482ac95e6469f56981c7b063593fdc5d
refs/heads/master: c9c9d7df5f8aed8b738f1ace45700e2001c1faeb
9 changes: 5 additions & 4 deletions trunk/fs/fuse/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -747,11 +747,12 @@ static ssize_t fuse_dev_read(struct kiocb *iocb, const struct iovec *iov,
fuse_copy_finish(&cs);
spin_lock(&fc->lock);
req->locked = 0;
if (!err && req->aborted)
err = -ENOENT;
if (req->aborted) {
request_end(fc, req);
return -ENODEV;
}
if (err) {
if (!req->aborted)
req->out.h.error = -EIO;
req->out.h.error = -EIO;
request_end(fc, req);
return err;
}
Expand Down

0 comments on commit d65d0e0

Please sign in to comment.