2019-05-22 14:51:42 +07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2005-04-17 05:20:36 +07:00
|
|
|
/*
|
|
|
|
* sysctl.h - Defines for sysctl handling in NTFS Linux kernel driver. Part of
|
|
|
|
* the Linux-NTFS project. Adapted from the old NTFS driver,
|
2007-10-20 04:21:04 +07:00
|
|
|
* Copyright (C) 1997 Martin von Löwis, Régis Duchesne
|
2005-04-17 05:20:36 +07:00
|
|
|
*
|
|
|
|
* Copyright (c) 2002-2004 Anton Altaparmakov
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _LINUX_NTFS_SYSCTL_H
|
|
|
|
#define _LINUX_NTFS_SYSCTL_H
|
|
|
|
|
|
|
|
|
2005-07-28 01:45:17 +07:00
|
|
|
#if defined(DEBUG) && defined(CONFIG_SYSCTL)
|
2005-04-17 05:20:36 +07:00
|
|
|
|
|
|
|
extern int ntfs_sysctl(int add);
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
/* Just return success. */
|
|
|
|
static inline int ntfs_sysctl(int add)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* DEBUG && CONFIG_SYSCTL */
|
|
|
|
#endif /* _LINUX_NTFS_SYSCTL_H */
|