diff options
| author | Al Viro <[email protected]> | 2016-01-21 22:21:41 -0500 |
|---|---|---|
| committer | Mike Marshall <[email protected]> | 2016-01-23 12:42:43 -0500 |
| commit | e07db0a2c2e910d6619bfff962d73bd9c886c604 (patch) | |
| tree | 2fcd1185c69b888589458e5872c5b4453c3336ba | |
| parent | 1264ddfdb7afda6f2c994ac30cad925fec346bae (diff) | |
make orangefs_clean_up_interrupted_operation() static
Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Mike Marshall <[email protected]>
| -rw-r--r-- | fs/orangefs/orangefs-kernel.h | 1 | ||||
| -rw-r--r-- | fs/orangefs/waitqueue.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/fs/orangefs/orangefs-kernel.h b/fs/orangefs/orangefs-kernel.h index ab2b9b061996..d78f3852bc4d 100644 --- a/fs/orangefs/orangefs-kernel.h +++ b/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_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); /* diff --git a/fs/orangefs/waitqueue.c b/fs/orangefs/waitqueue.c index 4730baf686b2..bc86f16c2037 100644 --- a/fs/orangefs/waitqueue.c +++ b/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); } -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 |