blob: 96bb2299d2d5558e6e295b384ce7e97bbb8d0a63 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-or-later */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
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
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00008 */
9
10#ifndef _LINUX_NTFS_SYSCTL_H
11#define _LINUX_NTFS_SYSCTL_H
12
13
14#if defined(DEBUG) && defined(CONFIG_SYSCTL)
15
16extern int ntfs_sysctl(int add);
17
18#else
19
20/* Just return success. */
21static inline int ntfs_sysctl(int add)
22{
23 return 0;
24}
25
26#endif /* DEBUG && CONFIG_SYSCTL */
27#endif /* _LINUX_NTFS_SYSCTL_H */