mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-04-15 03:07:37 +07:00
[GFS2] proper extern for gfs2/locking/dlm/mount.c:gdlm_ops
This patch adds a proper extern declaration for gdlm_ops in fs/gfs2/locking/dlm/lock_dlm.h Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
parent
8af4c72f7d
commit
60b779cfc1
@ -183,5 +183,10 @@ int gdlm_plock_get(void *, struct lm_lockname *, struct file *,
|
|||||||
struct file_lock *);
|
struct file_lock *);
|
||||||
int gdlm_punlock(void *, struct lm_lockname *, struct file *,
|
int gdlm_punlock(void *, struct lm_lockname *, struct file *,
|
||||||
struct file_lock *);
|
struct file_lock *);
|
||||||
|
|
||||||
|
/* mount.c */
|
||||||
|
|
||||||
|
extern const struct lm_lockops gdlm_ops;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -11,8 +11,6 @@
|
|||||||
|
|
||||||
#include "lock_dlm.h"
|
#include "lock_dlm.h"
|
||||||
|
|
||||||
extern struct lm_lockops gdlm_ops;
|
|
||||||
|
|
||||||
static int __init init_lock_dlm(void)
|
static int __init init_lock_dlm(void)
|
||||||
{
|
{
|
||||||
int error;
|
int error;
|
||||||
|
@ -12,8 +12,6 @@
|
|||||||
|
|
||||||
#include "lock_dlm.h"
|
#include "lock_dlm.h"
|
||||||
|
|
||||||
extern struct lm_lockops gdlm_ops;
|
|
||||||
|
|
||||||
static ssize_t proto_name_show(struct gdlm_ls *ls, char *buf)
|
static ssize_t proto_name_show(struct gdlm_ls *ls, char *buf)
|
||||||
{
|
{
|
||||||
return sprintf(buf, "%s\n", gdlm_ops.lm_proto_name);
|
return sprintf(buf, "%s\n", gdlm_ops.lm_proto_name);
|
||||||
|
Loading…
Reference in New Issue
Block a user