From: Al Viro Date: Fri, 22 Jan 2016 03:58:58 +0000 (-0500) Subject: orangefs: make wait_for_...downcall() static X-Git-Tag: v5.15~13906^2~86 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7ae37b09e069a5d8d604caabd6675456a0d89fc;p=platform%2Fkernel%2Flinux-starfive.git orangefs: make wait_for_...downcall() static Signed-off-by: Al Viro Signed-off-by: Mike Marshall --- diff --git a/fs/orangefs/orangefs-kernel.h b/fs/orangefs/orangefs-kernel.h index d78f3852..825545a 100644 --- a/fs/orangefs/orangefs-kernel.h +++ b/fs/orangefs/orangefs-kernel.h @@ -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); /* diff --git a/fs/orangefs/waitqueue.c b/fs/orangefs/waitqueue.c index bc86f16..0b04f41 100644 --- a/fs/orangefs/waitqueue.c +++ b/fs/orangefs/waitqueue.c @@ -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);