orangefs: make wait_for_...downcall() static
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 22 Jan 2016 03:58:58 +0000 (22:58 -0500)
committerMike Marshall <hubcap@omnibond.com>
Sat, 23 Jan 2016 17:42:43 +0000 (12:42 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/orangefs-kernel.h
fs/orangefs/waitqueue.c

index d78f3852bc4de67d126616a7595109e3733a3a16..825545a7d1672f076c4c3250d0e07471867cee4c 100644 (file)
@@ -474,8 +474,6 @@ void purge_inprogress_ops(void);
 /*
  * defined in waitqueue.c
  */
-int wait_for_matching_downcall(struct orangefs_kernel_op_s *op);
-int wait_for_cancellation_downcall(struct orangefs_kernel_op_s *op);
 void purge_waiting_ops(void);
 
 /*
index bc86f16c2037fce1b99d287e59002a78293a0dd1..0b04f4197526a87f530f775258ec9dcdde05c8a6 100644 (file)
@@ -382,7 +382,7 @@ static void orangefs_clean_up_interrupted_operation(struct orangefs_kernel_op_s
  * operation since client-core seems to be exiting too often
  * or if we were interrupted.
  */
-int wait_for_matching_downcall(struct orangefs_kernel_op_s *op)
+static int wait_for_matching_downcall(struct orangefs_kernel_op_s *op)
 {
        int ret = -EINVAL;
        DEFINE_WAIT(wait_entry);
@@ -488,7 +488,7 @@ int wait_for_matching_downcall(struct orangefs_kernel_op_s *op)
  *      cancellation upcall anyway.  the only way to exit this is to either
  *      timeout or have the cancellation be serviced properly.
  */
-int wait_for_cancellation_downcall(struct orangefs_kernel_op_s *op)
+static int wait_for_cancellation_downcall(struct orangefs_kernel_op_s *op)
 {
        int ret = -EINVAL;
        DEFINE_WAIT(wait_entry);
This page took 0.027299 seconds and 5 git commands to generate.