mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race
[linux/fpc-iii.git] / fs / lockd / procfs.h
blobba9a82f4ce283dbc6255ecc1af0a8f7370f69978
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Procfs support for lockd
5 * Copyright (c) 2014 Jeff Layton <jlayton@primarydata.com>
6 */
7 #ifndef _LOCKD_PROCFS_H
8 #define _LOCKD_PROCFS_H
10 #if IS_ENABLED(CONFIG_PROC_FS)
11 int lockd_create_procfs(void);
12 void lockd_remove_procfs(void);
13 #else
14 static inline int
15 lockd_create_procfs(void)
17 return 0;
20 static inline void
21 lockd_remove_procfs(void)
23 return;
25 #endif /* IS_ENABLED(CONFIG_PROC_FS) */
27 #endif /* _LOCKD_PROCFS_H */