From 897c5df6cf8c10d2557c098641faa62f65ef8598 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sat, 13 Feb 2016 21:06:50 -0500 Subject: orangefs: get rid of op->done shouldn't be needed now Signed-off-by: Al Viro Signed-off-by: Mike Marshall --- fs/orangefs/devorangefs-req.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'fs/orangefs/devorangefs-req.c') diff --git a/fs/orangefs/devorangefs-req.c b/fs/orangefs/devorangefs-req.c index 790855a72e32..b27ed1cb9a36 100644 --- a/fs/orangefs/devorangefs-req.c +++ b/fs/orangefs/devorangefs-req.c @@ -424,19 +424,6 @@ wakeup: * application reading/writing this device to return until * the buffers are done being used. */ - if (op->downcall.type == ORANGEFS_VFS_OP_FILE_IO) { - long n = wait_for_completion_interruptible_timeout(&op->done, - op_timeout_secs * HZ); - if (unlikely(n < 0)) { - gossip_debug(GOSSIP_DEV_DEBUG, - "%s: signal on I/O wait, aborting\n", - __func__); - } else if (unlikely(n == 0)) { - gossip_debug(GOSSIP_DEV_DEBUG, - "%s: timed out.\n", - __func__); - } - } out: if (unlikely(op_is_cancel(op))) put_cancel(op); -- cgit v1.2.3