summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/devorangefs-req.c
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2016-08-15 21:21:16 +0200
committerMartin Brandenburg <martin@omnibond.com>2016-08-15 21:21:16 +0200
commita0fe051592f1d31db491bb6cdcc87f512c5b6eaa (patch)
treec3e7dea204c55cd39022de2555eb553944863c1f /fs/orangefs/devorangefs-req.c
parentorangefs: describe organization of sysfs (diff)
downloadlinux-a0fe051592f1d31db491bb6cdcc87f512c5b6eaa.tar.xz
linux-a0fe051592f1d31db491bb6cdcc87f512c5b6eaa.zip
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");\