Эх сурвалжийг харах

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>
Al Viro 9 жил өмнө
parent
commit
e07db0a2c2

+ 0 - 1
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);
 
 /*

+ 1 - 1
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