sysctl.h 613 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  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,
  5. * Copyright (C) 1997 Martin von Löwis, Régis Duchesne
  6. *
  7. * Copyright (c) 2002-2004 Anton Altaparmakov
  8. */
  9. #ifndef _LINUX_NTFS_SYSCTL_H
  10. #define _LINUX_NTFS_SYSCTL_H
  11. #if defined(DEBUG) && defined(CONFIG_SYSCTL)
  12. extern int ntfs_sysctl(int add);
  13. #else
  14. /* Just return success. */
  15. static inline int ntfs_sysctl(int add)
  16. {
  17. return 0;
  18. }
  19. #endif /* DEBUG && CONFIG_SYSCTL */
  20. #endif /* _LINUX_NTFS_SYSCTL_H */