![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 /* 0003 * Procfs support for lockd 0004 * 0005 * Copyright (c) 2014 Jeff Layton <jlayton@primarydata.com> 0006 */ 0007 #ifndef _LOCKD_PROCFS_H 0008 #define _LOCKD_PROCFS_H 0009 0010 #if IS_ENABLED(CONFIG_PROC_FS) 0011 int lockd_create_procfs(void); 0012 void lockd_remove_procfs(void); 0013 #else 0014 static inline int 0015 lockd_create_procfs(void) 0016 { 0017 return 0; 0018 } 0019 0020 static inline void 0021 lockd_remove_procfs(void) 0022 { 0023 return; 0024 } 0025 #endif /* IS_ENABLED(CONFIG_PROC_FS) */ 0026 0027 #endif /* _LOCKD_PROCFS_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |