Commit a0fe0515 authored by Martin Brandenburg's avatar Martin Brandenburg

orangefs: make devreq_mutex static

Signed-off-by: default avatarMartin Brandenburg <martin@omnibond.com>
parent c27889cd
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
static int open_access_count; static int open_access_count;
static DEFINE_MUTEX(devreq_mutex);
#define DUMP_DEVICE_ERROR() \ #define DUMP_DEVICE_ERROR() \
do { \ do { \
gossip_err("*****************************************************\n");\ gossip_err("*****************************************************\n");\
......
...@@ -510,7 +510,6 @@ bool orangefs_cancel_op_in_progress(struct orangefs_kernel_op_s *op); ...@@ -510,7 +510,6 @@ bool orangefs_cancel_op_in_progress(struct orangefs_kernel_op_s *op);
int orangefs_normalize_to_errno(__s32 error_code); int orangefs_normalize_to_errno(__s32 error_code);
extern struct mutex devreq_mutex;
extern struct mutex request_mutex; extern struct mutex request_mutex;
extern int debug; extern int debug;
extern int op_timeout_secs; extern int op_timeout_secs;
......
...@@ -54,9 +54,6 @@ module_param(module_parm_debug_mask, ulong, 0644); ...@@ -54,9 +54,6 @@ module_param(module_parm_debug_mask, ulong, 0644);
module_param(op_timeout_secs, int, 0); module_param(op_timeout_secs, int, 0);
module_param(slot_timeout_secs, int, 0); module_param(slot_timeout_secs, int, 0);
/* synchronizes the request device file */
DEFINE_MUTEX(devreq_mutex);
/* /*
* Blocks non-priority requests from being queued for servicing. This * Blocks non-priority requests from being queued for servicing. This
* could be used for protecting the request list data structure, but * could be used for protecting the request list data structure, but
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment