summaryrefslogtreecommitdiff
path: root/fs/orangefs/devorangefs-req.c
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2016-08-15 15:21:16 -0400
committerMartin Brandenburg <martin@omnibond.com>2016-08-15 15:21:16 -0400
commita0fe051592f1d31db491bb6cdcc87f512c5b6eaa (patch)
treec3e7dea204c55cd39022de2555eb553944863c1f /fs/orangefs/devorangefs-req.c
parentc27889cdb4eed68c00f0855efa149dc03e67f7ee (diff)
orangefs: make devreq_mutex static
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Diffstat (limited to 'fs/orangefs/devorangefs-req.c')
-rw-r--r--fs/orangefs/devorangefs-req.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/orangefs/devorangefs-req.c b/fs/orangefs/devorangefs-req.c
index 6779cb7b747e..a5c76583dffa 100644
--- a/fs/orangefs/devorangefs-req.c
+++ b/fs/orangefs/devorangefs-req.c
@@ -20,6 +20,8 @@
static int open_access_count;
+static DEFINE_MUTEX(devreq_mutex);
+
#define DUMP_DEVICE_ERROR() \
do { \
gossip_err("*****************************************************\n");\