blob: 96bb2299d2d5558e6e295b384ce7e97bbb8d0a63 [file] [log] [blame]
Thomas Gleixnera1d312d2019-05-22 09:51:42 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
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 Engelhardt96de0e22007-10-19 23:21:04 +02005 * Copyright (C) 1997 Martin von Löwis, Régis Duchesne
Linus Torvalds1da177e2005-04-16 15:20:36 -07006 *
7 * Copyright (c) 2002-2004 Anton Altaparmakov
Linus Torvalds1da177e2005-04-16 15:20:36 -07008 */
9
10#ifndef _LINUX_NTFS_SYSCTL_H
11#define _LINUX_NTFS_SYSCTL_H
12
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
Olaf Hering44456d32005-07-27 11:45:17 -070014#if defined(DEBUG) && defined(CONFIG_SYSCTL)
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
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 */