diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-01-23 19:45:46 +0100 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-01-23 21:20:11 +0100 |
commit | 2a9e5c22605f5db6040535b10dce5fbc3a7db3bd (patch) | |
tree | b1bae68686c49aac26a3b06aed2921f630171566 /fs/orangefs/file.c | |
parent | if ORANGEFS_VFS_OP_FILE_IO request had been given up, don't bother waiting (diff) | |
download | linux-2a9e5c22605f5db6040535b10dce5fbc3a7db3bd.tar.xz linux-2a9e5c22605f5db6040535b10dce5fbc3a7db3bd.zip |
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.c | 5 |
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) /* |