Skip to content

Commit

Permalink
LOCKD: Make lockd_up() and lockd_down() exported GPL-only
Browse files Browse the repository at this point in the history
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Dec 23, 2008
1 parent d716f0b commit 2de5987
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fs/lockd/svc.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
static struct svc_program nlmsvc_program;

struct nlmsvc_binding * nlmsvc_ops;
EXPORT_SYMBOL(nlmsvc_ops);
EXPORT_SYMBOL_GPL(nlmsvc_ops);

static DEFINE_MUTEX(nlmsvc_mutex);
static unsigned int nlmsvc_users;
Expand Down Expand Up @@ -300,7 +300,7 @@ int lockd_up(void)
mutex_unlock(&nlmsvc_mutex);
return error;
}
EXPORT_SYMBOL(lockd_up);
EXPORT_SYMBOL_GPL(lockd_up);

/*
* Decrement the user count and bring down lockd if we're the last.
Expand Down Expand Up @@ -329,7 +329,7 @@ lockd_down(void)
out:
mutex_unlock(&nlmsvc_mutex);
}
EXPORT_SYMBOL(lockd_down);
EXPORT_SYMBOL_GPL(lockd_down);

#ifdef CONFIG_SYSCTL

Expand Down

0 comments on commit 2de5987

Please sign in to comment.