Commit | Line | Data |
---|---|---|
a1d312de | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
1da177e4 LT |
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, | |
96de0e25 | 5 | * Copyright (C) 1997 Martin von Löwis, Régis Duchesne |
1da177e4 LT |
6 | * |
7 | * Copyright (c) 2002-2004 Anton Altaparmakov | |
1da177e4 LT |
8 | */ |
9 | ||
10 | #ifndef _LINUX_NTFS_SYSCTL_H | |
11 | #define _LINUX_NTFS_SYSCTL_H | |
12 | ||
1da177e4 | 13 | |
44456d37 | 14 | #if defined(DEBUG) && defined(CONFIG_SYSCTL) |
1da177e4 LT |
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 */ |