mirror of
https://github.com/physwizz/a155-U-u1.git
synced 2024-11-19 13:27:49 +00:00
28 lines
474 B
C
28 lines
474 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* 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 */
|