Skip to content

Commit b7ae37b

Browse files
Al Virohubcapsc
authored andcommitted
orangefs: make wait_for_...downcall() static
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
1 parent e07db0a commit b7ae37b

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎fs/orangefs/orangefs-kernel.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,6 @@ void purge_inprogress_ops(void);
474474
/*
475475
* defined in waitqueue.c
476476
*/
477-
int wait_for_matching_downcall(struct orangefs_kernel_op_s *op);
478-
int wait_for_cancellation_downcall(struct orangefs_kernel_op_s *op);
479477
void purge_waiting_ops(void);
480478

481479
/*

‎fs/orangefs/waitqueue.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ static void orangefs_clean_up_interrupted_operation(struct orangefs_kernel_op_s
382382
* operation since client-core seems to be exiting too often
383383
* or if we were interrupted.
384384
*/
385-
int wait_for_matching_downcall(struct orangefs_kernel_op_s *op)
385+
static int wait_for_matching_downcall(struct orangefs_kernel_op_s *op)
386386
{
387387
int ret = -EINVAL;
388388
DEFINE_WAIT(wait_entry);
@@ -488,7 +488,7 @@ int wait_for_matching_downcall(struct orangefs_kernel_op_s *op)
488488
* cancellation upcall anyway. the only way to exit this is to either
489489
* timeout or have the cancellation be serviced properly.
490490
*/
491-
int wait_for_cancellation_downcall(struct orangefs_kernel_op_s *op)
491+
static int wait_for_cancellation_downcall(struct orangefs_kernel_op_s *op)
492492
{
493493
int ret = -EINVAL;
494494
DEFINE_WAIT(wait_entry);

0 commit comments

Comments
 (0)