summaryrefslogtreecommitdiff
path: root/fs/orangefs/orangefs-bufmap.c
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2016-01-04 15:05:28 -0500
committerMike Marshall <hubcap@omnibond.com>2016-01-04 16:21:46 -0500
commit7d2214858f137ff5fe20d0fdc2823c12b4b54f46 (patch)
treec269ab6ecb76f691dc20623ea0ffac2ba46ff736 /fs/orangefs/orangefs-bufmap.c
parentc146c0b87f7cef247744a649f8c1d794d18bfcb7 (diff)
orangefs: Fix some more global namespace pollution.
This only changes the names of things, so there is no functional change. Signed-off-by: Martin Brandenburg <martin@omnibond.com> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-bufmap.c')
-rw-r--r--fs/orangefs/orangefs-bufmap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/orangefs/orangefs-bufmap.c b/fs/orangefs/orangefs-bufmap.c
index 888aa28136ee..15baecb8094d 100644
--- a/fs/orangefs/orangefs-bufmap.c
+++ b/fs/orangefs/orangefs-bufmap.c
@@ -115,14 +115,14 @@ static DECLARE_WAIT_QUEUE_HEAD(bufmap_waitq);
static DECLARE_WAIT_QUEUE_HEAD(readdir_waitq);
/*
- * get_bufmap_init
+ * orangefs_get_bufmap_init
*
* If bufmap_init is 1, then the shared memory system, including the
* buffer_index_array, is available. Otherwise, it is not.
*
* returns the value of bufmap_init
*/
-int get_bufmap_init(void)
+int orangefs_get_bufmap_init(void)
{
return __orangefs_bufmap ? 1 : 0;
}
@@ -473,7 +473,7 @@ void orangefs_bufmap_put(struct orangefs_bufmap *bufmap, int buffer_index)
}
/*
- * readdir_index_get()
+ * orangefs_readdir_index_get()
*
* gets a free descriptor, will sleep until one becomes
* available if necessary.
@@ -483,7 +483,7 @@ void orangefs_bufmap_put(struct orangefs_bufmap *bufmap, int buffer_index)
*
* returns 0 on success, -errno on failure
*/
-int readdir_index_get(struct orangefs_bufmap **mapp, int *buffer_index)
+int orangefs_readdir_index_get(struct orangefs_bufmap **mapp, int *buffer_index)
{
struct orangefs_bufmap *bufmap = orangefs_bufmap_ref();
struct slot_args slargs;
@@ -505,7 +505,7 @@ int readdir_index_get(struct orangefs_bufmap **mapp, int *buffer_index)
return ret;
}
-void readdir_index_put(struct orangefs_bufmap *bufmap, int buffer_index)
+void orangefs_readdir_index_put(struct orangefs_bufmap *bufmap, int buffer_index)
{
struct slot_args slargs;