xref: /linux/fs/ntfs/sysctl.h (revision cdd4dc3aebeab43a72ce0bc2b5bab6f0a80b97a5)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Defines for sysctl handling in NTFS Linux kernel driver.
4  *
5  * Copyright (C) 1997 Martin von Löwis, Régis Duchesne
6  * Copyright (c) 2002-2004 Anton Altaparmakov
7  */
8 
9 #ifndef _LINUX_NTFS_SYSCTL_H
10 #define _LINUX_NTFS_SYSCTL_H
11 
12 
13 #if defined(DEBUG) && defined(CONFIG_SYSCTL)
14 
15 int ntfs_sysctl(int add);
16 
17 #else
18 
19 /* Just return success. */
20 static inline int ntfs_sysctl(int add)
21 {
22 	return 0;
23 }
24 
25 #endif /* DEBUG && CONFIG_SYSCTL */
26 #endif /* _LINUX_NTFS_SYSCTL_H */
27