xprtrdma: Fix DMAR failure in frwr_op_map() after reconnect
[linux/fpc-iii.git] / fs / lockd / procfs.h
blob2257a13110275272b346eda6c734942ad806b265
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 #include <linux/kconfig.h>
11 #if IS_ENABLED(CONFIG_PROC_FS)
12 int lockd_create_procfs(void);
13 void lockd_remove_procfs(void);
14 #else
15 static inline int
16 lockd_create_procfs(void)
18 return 0;
21 static inline void
22 lockd_remove_procfs(void)
24 return;
26 #endif /* IS_ENABLED(CONFIG_PROC_FS) */
28 #endif /* _LOCKD_PROCFS_H */