aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/fuse/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index d9f467907791..b3ad8d61a162 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -2432,7 +2432,7 @@ fuse_direct_IO(int rw, struct kiocb *iocb, const struct iovec *iov,
2432 fuse_aio_complete(io, ret < 0 ? ret : 0, -1); 2432 fuse_aio_complete(io, ret < 0 ? ret : 0, -1);
2433 2433
2434 /* we have a non-extending, async request, so return */ 2434 /* we have a non-extending, async request, so return */
2435 if (ret > 0 && !is_sync_kiocb(iocb)) 2435 if (!is_sync_kiocb(iocb))
2436 return -EIOCBQUEUED; 2436 return -EIOCBQUEUED;
2437 2437
2438 ret = wait_on_sync_kiocb(iocb); 2438 ret = wait_on_sync_kiocb(iocb);