Thomas Gleixner | a1d312d | 2019-05-22 09:51:42 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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, |
Jan Engelhardt | 96de0e2 | 2007-10-19 23:21:04 +0200 | [diff] [blame] | 5 | * Copyright (C) 1997 Martin von Löwis, Régis Duchesne |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | * |
| 7 | * Copyright (c) 2002-2004 Anton Altaparmakov |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | #ifndef _LINUX_NTFS_SYSCTL_H |
| 11 | #define _LINUX_NTFS_SYSCTL_H |
| 12 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
Olaf Hering | 44456d3 | 2005-07-27 11:45:17 -0700 | [diff] [blame] | 14 | #if defined(DEBUG) && defined(CONFIG_SYSCTL) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 */ |