浏览代码

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 年之前
父节点
当前提交
e07db0a2c2
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 0 1
      fs/orangefs/orangefs-kernel.h
  2. 1 1
      fs/orangefs/waitqueue.c

+ 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_matching_downcall(struct orangefs_kernel_op_s *op);
 int wait_for_cancellation_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);
 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);
 	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
 	 * handle interrupted cases depending on what state we were in when