summaryrefslogtreecommitdiff
path: root/fs/orangefs/waitqueue.c
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2016-01-02 23:04:47 +0100
committerMike Marshall <hubcap@omnibond.com>2016-01-04 16:21:37 -0500
commitc146c0b87f7cef247744a649f8c1d794d18bfcb7 (patch)
tree88053f8d8bf3a21046a45efd50d997611bb02cf1 /fs/orangefs/waitqueue.c
parentacaca36dd94d1bfe381a7425984991a06ba58f53 (diff)
orangefs: Don't pollute global namespace
Prefix public functions with "orangefs_" do don't pollute the global namespace. This fixes a build issue on UML which also has block_signals(). Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Martin Brandenburg <martin@omnibond.com> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/waitqueue.c')
-rw-r--r--fs/orangefs/waitqueue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/orangefs/waitqueue.c b/fs/orangefs/waitqueue.c
index 856a4b48fe23..e1415e3882ba 100644
--- a/fs/orangefs/waitqueue.c
+++ b/fs/orangefs/waitqueue.c
@@ -80,7 +80,7 @@ retry_servicing:
/* mask out signals if this operation is not to be interrupted */
if (!(flags & ORANGEFS_OP_INTERRUPTIBLE))
- block_signals(&orig_sigset);
+ orangefs_block_signals(&orig_sigset);
if (!(flags & ORANGEFS_OP_NO_SEMAPHORE)) {
ret = mutex_lock_interruptible(&request_mutex);
@@ -90,7 +90,7 @@ retry_servicing:
*/
if (ret < 0) {
if (!(flags & ORANGEFS_OP_INTERRUPTIBLE))
- set_signals(&orig_sigset);
+ orangefs_set_signals(&orig_sigset);
op->downcall.status = ret;
gossip_debug(GOSSIP_WAIT_DEBUG,
"orangefs: service_operation interrupted.\n");
@@ -160,7 +160,7 @@ retry_servicing:
}
if (!(flags & ORANGEFS_OP_INTERRUPTIBLE))
- set_signals(&orig_sigset);
+ orangefs_set_signals(&orig_sigset);
BUG_ON(ret != op->downcall.status);
/* retry if operation has not been serviced and if requested */