summaryrefslogtreecommitdiff
path: root/fs/orangefs/orangefs-utils.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-01-23 21:45:46 +0300
committerMike Marshall <hubcap@omnibond.com>2016-01-23 23:20:11 +0300
commit2a9e5c22605f5db6040535b10dce5fbc3a7db3bd (patch)
treeb1bae68686c49aac26a3b06aed2921f630171566 /fs/orangefs/orangefs-utils.c
parent4f55e39732ad0bd05d70c88e174e747d55e3685c (diff)
downloadlinux-2a9e5c22605f5db6040535b10dce5fbc3a7db3bd.tar.xz
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;