linux/fs/nfsd/lockd.c

// SPDX-License-Identifier: GPL-2.0
/*
 * This file contains all the stubs needed when communicating with lockd.
 * This level of indirection is necessary so we can run nfsd+lockd without
 * requiring the nfs client to be compiled in/loaded, and vice versa.
 *
 * Copyright (C) 1996, Olaf Kirch <[email protected]>
 */

#include <linux/file.h>
#include <linux/lockd/bind.h>
#include "nfsd.h"
#include "vfs.h"

#define NFSDDBG_FACILITY

#ifdef CONFIG_LOCKD_V4
#define nlm_stale_fh
#define nlm_failed
#else
#define nlm_stale_fh
#define nlm_failed
#endif
/*
 * Note: we hold the dentry use count while the file is open.
 */
static __be32
nlm_fopen(struct svc_rqst *rqstp, struct nfs_fh *f, struct file **filp,
		int mode)
{}

static void
nlm_fclose(struct file *filp)
{}

static const struct nlmsvc_binding nfsd_nlm_ops =;

void
nfsd_lockd_init(void)
{}

void
nfsd_lockd_shutdown(void)
{}