blob: 184a15edd18d7426c5ac77903d283790d1462a50 [file] [log] [blame]
Jeff Laytond68e3c42014-09-12 16:40:20 -04001/*
2 * Procfs support for lockd
3 *
4 * Copyright (c) 2014 Jeff Layton <jlayton@primarydata.com>
5 */
6#ifndef _LOCKD_PROCFS_H
7#define _LOCKD_PROCFS_H
8
Jeff Laytond68e3c42014-09-12 16:40:20 -04009#if IS_ENABLED(CONFIG_PROC_FS)
10int lockd_create_procfs(void);
11void lockd_remove_procfs(void);
12#else
13static inline int
14lockd_create_procfs(void)
15{
16 return 0;
17}
18
19static inline void
20lockd_remove_procfs(void)
21{
22 return;
23}
24#endif /* IS_ENABLED(CONFIG_PROC_FS) */
25
26#endif /* _LOCKD_PROCFS_H */