arm64: kgdb: Fix single-step exception handling oops
[linux/fpc-iii.git] / fs / lockd / procfs.h
blob184a15edd18d7426c5ac77903d283790d1462a50
1 /*
2 * Procfs support for lockd
4 * Copyright (c) 2014 Jeff Layton <jlayton@primarydata.com>
5 */
6 #ifndef _LOCKD_PROCFS_H
7 #define _LOCKD_PROCFS_H
9 #if IS_ENABLED(CONFIG_PROC_FS)
10 int lockd_create_procfs(void);
11 void lockd_remove_procfs(void);
12 #else
13 static inline int
14 lockd_create_procfs(void)
16 return 0;
19 static inline void
20 lockd_remove_procfs(void)
22 return;
24 #endif /* IS_ENABLED(CONFIG_PROC_FS) */
26 #endif /* _LOCKD_PROCFS_H */