Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * sysctl.h - Defines for sysctl handling in NTFS Linux kernel driver. Part of
0004  *        the Linux-NTFS project. Adapted from the old NTFS driver,
0005  *        Copyright (C) 1997 Martin von Löwis, Régis Duchesne
0006  *
0007  * Copyright (c) 2002-2004 Anton Altaparmakov
0008  */
0009 
0010 #ifndef _LINUX_NTFS_SYSCTL_H
0011 #define _LINUX_NTFS_SYSCTL_H
0012 
0013 
0014 #if defined(DEBUG) && defined(CONFIG_SYSCTL)
0015 
0016 extern int ntfs_sysctl(int add);
0017 
0018 #else
0019 
0020 /* Just return success. */
0021 static inline int ntfs_sysctl(int add)
0022 {
0023     return 0;
0024 }
0025 
0026 #endif /* DEBUG && CONFIG_SYSCTL */
0027 #endif /* _LINUX_NTFS_SYSCTL_H */