summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/orangefs-utils.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 22:21:37 +0100
commitc146c0b87f7cef247744a649f8c1d794d18bfcb7 (patch)
tree88053f8d8bf3a21046a45efd50d997611bb02cf1 /fs/orangefs/orangefs-utils.c
parentOrangeFS: constify export_operations structures (diff)
downloadlinux-c146c0b87f7cef247744a649f8c1d794d18bfcb7.tar.xz
linux-c146c0b87f7cef247744a649f8c1d794d18bfcb7.zip
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/orangefs-utils.c')
-rw-r--r--fs/orangefs/orangefs-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/orangefs/orangefs-utils.c b/fs/orangefs/orangefs-utils.c
index fa2a46521b7a..f21233201ce3 100644
--- a/fs/orangefs/orangefs-utils.c
+++ b/fs/orangefs/orangefs-utils.c
@@ -633,7 +633,7 @@ void orangefs_make_bad_inode(struct inode *inode)
}
/* Block all blockable signals... */
-void block_signals(sigset_t *orig_sigset)
+void orangefs_block_signals(sigset_t *orig_sigset)
{
sigset_t mask;
@@ -648,7 +648,7 @@ void block_signals(sigset_t *orig_sigset)
}
/* set the signal mask to the given template... */
-void set_signals(sigset_t *sigset)
+void orangefs_set_signals(sigset_t *sigset)
{
sigprocmask(SIG_SETMASK, sigset, NULL);
}