summaryrefslogtreecommitdiffstats
path: root/fs/lockd/procfs.h
blob: 184a15edd18d7426c5ac77903d283790d1462a50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Procfs support for lockd
 *
 * Copyright (c) 2014 Jeff Layton <jlayton@primarydata.com>
 */
#ifndef _LOCKD_PROCFS_H
#define _LOCKD_PROCFS_H

#if IS_ENABLED(CONFIG_PROC_FS)
int lockd_create_procfs(void);
void lockd_remove_procfs(void);
#else
static inline int
lockd_create_procfs(void)
{
	return 0;
}

static inline void
lockd_remove_procfs(void)
{
	return;
}
#endif /* IS_ENABLED(CONFIG_PROC_FS) */

#endif /* _LOCKD_PROCFS_H */
OpenPOWER on IntegriCloud