mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 05:32:00 +00:00
orangefs: make wait_for_...downcall() static
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
This commit is contained in:
parent
e07db0a2c2
commit
b7ae37b09e
@ -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);
|
||||
|
||||
/*
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user