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