summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-01-21 22:21:41 -0500
committerMike Marshall <hubcap@omnibond.com>2016-01-23 12:42:43 -0500
commite07db0a2c2e910d6619bfff962d73bd9c886c604 (patch)
tree2fcd1185c69b888589458e5872c5b4453c3336ba /fs
parent1264ddfdb7afda6f2c994ac30cad925fec346bae (diff)
make orangefs_clean_up_interrupted_operation() static
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/orangefs/orangefs-kernel.h1
-rw-r--r--fs/orangefs/waitqueue.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/fs/orangefs/orangefs-kernel.h b/fs/orangefs/orangefs-kernel.h
index ab2b9b061996..d78f3852bc4d 100644
--- a/fs/orangefs/orangefs-kernel.h
+++ b/fs/orangefs/orangefs-kernel.h
@@ -476,7 +476,6 @@ void purge_inprogress_ops(void);
*/
int wait_for_matching_downcall(struct orangefs_kernel_op_s *op);
int wait_for_cancellation_downcall(struct orangefs_kernel_op_s *op);
-void orangefs_clean_up_interrupted_operation(struct orangefs_kernel_op_s *op);
void purge_waiting_ops(void);
/*
diff --git a/fs/orangefs/waitqueue.c b/fs/orangefs/waitqueue.c
index 4730baf686b2..bc86f16c2037 100644
--- a/fs/orangefs/waitqueue.c
+++ b/fs/orangefs/waitqueue.c
@@ -296,7 +296,7 @@ static inline void remove_op_from_request_list(struct orangefs_kernel_op_s *op)
spin_unlock(&orangefs_request_list_lock);
}
-void orangefs_clean_up_interrupted_operation(struct orangefs_kernel_op_s *op)
+static void orangefs_clean_up_interrupted_operation(struct orangefs_kernel_op_s *op)
{
/*
* handle interrupted cases depending on what state we were in when