diff --git a/[refs] b/[refs] index 025770424824..b23157259806 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 28420dad233520811c0e0860e7fb4975ed863fc4 +refs/heads/master: c9ecf989cc7626e9edf8abef79f64b909542129b diff --git a/trunk/fs/fuse/file.c b/trunk/fs/fuse/file.c index d9f467907791..b3ad8d61a162 100644 --- a/trunk/fs/fuse/file.c +++ b/trunk/fs/fuse/file.c @@ -2432,7 +2432,7 @@ fuse_direct_IO(int rw, struct kiocb *iocb, const struct iovec *iov, fuse_aio_complete(io, ret < 0 ? ret : 0, -1); /* we have a non-extending, async request, so return */ - if (ret > 0 && !is_sync_kiocb(iocb)) + if (!is_sync_kiocb(iocb)) return -EIOCBQUEUED; ret = wait_on_sync_kiocb(iocb);