mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 06:33:34 +00:00
LOCKD: Make lockd_up() and lockd_down() exported GPL-only
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
d716f0b8a5
commit
2de59872a7
@ -45,7 +45,7 @@
|
|||||||
static struct svc_program nlmsvc_program;
|
static struct svc_program nlmsvc_program;
|
||||||
|
|
||||||
struct nlmsvc_binding * nlmsvc_ops;
|
struct nlmsvc_binding * nlmsvc_ops;
|
||||||
EXPORT_SYMBOL(nlmsvc_ops);
|
EXPORT_SYMBOL_GPL(nlmsvc_ops);
|
||||||
|
|
||||||
static DEFINE_MUTEX(nlmsvc_mutex);
|
static DEFINE_MUTEX(nlmsvc_mutex);
|
||||||
static unsigned int nlmsvc_users;
|
static unsigned int nlmsvc_users;
|
||||||
@ -300,7 +300,7 @@ int lockd_up(void)
|
|||||||
mutex_unlock(&nlmsvc_mutex);
|
mutex_unlock(&nlmsvc_mutex);
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(lockd_up);
|
EXPORT_SYMBOL_GPL(lockd_up);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Decrement the user count and bring down lockd if we're the last.
|
* Decrement the user count and bring down lockd if we're the last.
|
||||||
@ -329,7 +329,7 @@ lockd_down(void)
|
|||||||
out:
|
out:
|
||||||
mutex_unlock(&nlmsvc_mutex);
|
mutex_unlock(&nlmsvc_mutex);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(lockd_down);
|
EXPORT_SYMBOL_GPL(lockd_down);
|
||||||
|
|
||||||
#ifdef CONFIG_SYSCTL
|
#ifdef CONFIG_SYSCTL
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user