summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/orangefs-utils.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-01-23 19:45:46 +0100
committerMike Marshall <hubcap@omnibond.com>2016-01-23 21:20:11 +0100
commit2a9e5c22605f5db6040535b10dce5fbc3a7db3bd (patch)
treeb1bae68686c49aac26a3b06aed2921f630171566 /fs/orangefs/orangefs-utils.c
parentif ORANGEFS_VFS_OP_FILE_IO request had been given up, don't bother waiting (diff)
downloadlinux-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/orangefs-utils.c')
-rw-r--r--fs/orangefs/orangefs-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/orangefs/orangefs-utils.c b/fs/orangefs/orangefs-utils.c
index a6117787ee8d..ca7edcfae873 100644
--- a/fs/orangefs/orangefs-utils.c
+++ b/fs/orangefs/orangefs-utils.c
@@ -597,7 +597,7 @@ void orangefs_op_initialize(struct orangefs_kernel_op_s *op)
{
if (op) {
spin_lock(&op->lock);
- op->io_completed = 0;
+ init_completion(&op->done);
op->upcall.type = ORANGEFS_VFS_OP_INVALID;
op->downcall.type = ORANGEFS_VFS_OP_INVALID;