summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/file.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-01-23 13:45:46 -0500
committerMike Marshall <hubcap@omnibond.com>2016-01-23 15:20:11 -0500
commit2a9e5c22605f5db6040535b10dce5fbc3a7db3bd (patch)
treeb1bae68686c49aac26a3b06aed2921f630171566 /fs/orangefs/file.c
parent4f55e39732ad0bd05d70c88e174e747d55e3685c (diff)
downloadlinux-2a9e5c22605f5db6040535b10dce5fbc3a7db3bd.tar.bz2
orangefs: don't reinvent completion.h...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/file.c')
-rw-r--r--fs/orangefs/file.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/orangefs/file.c b/fs/orangefs/file.c
index df3404ba60af..7af0adba29aa 100644
--- a/fs/orangefs/file.c
+++ b/fs/orangefs/file.c
@@ -16,10 +16,7 @@
#define wake_up_daemon_for_return(op) \
do { \
- spin_lock(&op->lock); \
- op->io_completed = 1; \
- spin_unlock(&op->lock); \
- wake_up_interruptible(&op->io_completion_waitq);\
+ complete(&op->done); \
} while (0)
/*