mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
![Greg Kroah-Hartman](/assets/img/avatar_default.png)
Many user space API headers are missing licensing information, which makes it hard for compliance tools to determine the correct license. By default are files without license information under the default license of the kernel, which is GPLV2. Marking them GPLV2 would exclude them from being included in non GPLV2 code, which is obviously not intended. The user space API headers fall under the syscall exception which is in the kernels COPYING file: NOTE! This copyright does *not* cover user programs that use kernel services by normal system calls - this is merely considered normal use of the kernel, and does *not* fall under the heading of "derived work". otherwise syscall usage would not be possible. Update the files which contain no license information with an SPDX license identifier. The chosen identifier is 'GPL-2.0 WITH Linux-syscall-note' which is the officially assigned identifier for the Linux syscall exception. SPDX license identifiers are a legally binding shorthand, which can be used instead of the full boiler plate text. This patch is based on work done by Thomas Gleixner and Kate Stewart and Philippe Ombredanne. See the previous patch in this series for the methodology of how this patch was researched. Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
62 lines
1.6 KiB
C
62 lines
1.6 KiB
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
/*
|
|
* linux/include/linux/nfs_fs.h
|
|
*
|
|
* Copyright (C) 1992 Rick Sladkey
|
|
*
|
|
* OS-specific nfs filesystem definitions and declarations
|
|
*/
|
|
|
|
#ifndef _UAPI_LINUX_NFS_FS_H
|
|
#define _UAPI_LINUX_NFS_FS_H
|
|
|
|
#include <linux/magic.h>
|
|
|
|
/* Default timeout values */
|
|
#define NFS_DEF_UDP_TIMEO (11)
|
|
#define NFS_DEF_UDP_RETRANS (3)
|
|
#define NFS_DEF_TCP_TIMEO (600)
|
|
#define NFS_DEF_TCP_RETRANS (2)
|
|
|
|
#define NFS_MAX_UDP_TIMEOUT (60*HZ)
|
|
#define NFS_MAX_TCP_TIMEOUT (600*HZ)
|
|
|
|
#define NFS_DEF_ACREGMIN (3)
|
|
#define NFS_DEF_ACREGMAX (60)
|
|
#define NFS_DEF_ACDIRMIN (30)
|
|
#define NFS_DEF_ACDIRMAX (60)
|
|
|
|
/*
|
|
* When flushing a cluster of dirty pages, there can be different
|
|
* strategies:
|
|
*/
|
|
#define FLUSH_SYNC 1 /* file being synced, or contention */
|
|
#define FLUSH_STABLE 4 /* commit to stable storage */
|
|
#define FLUSH_LOWPRI 8 /* low priority background flush */
|
|
#define FLUSH_HIGHPRI 16 /* high priority memory reclaim flush */
|
|
#define FLUSH_COND_STABLE 32 /* conditional stable write - only stable
|
|
* if everything fits in one RPC */
|
|
|
|
|
|
/*
|
|
* NFS debug flags
|
|
*/
|
|
#define NFSDBG_VFS 0x0001
|
|
#define NFSDBG_DIRCACHE 0x0002
|
|
#define NFSDBG_LOOKUPCACHE 0x0004
|
|
#define NFSDBG_PAGECACHE 0x0008
|
|
#define NFSDBG_PROC 0x0010
|
|
#define NFSDBG_XDR 0x0020
|
|
#define NFSDBG_FILE 0x0040
|
|
#define NFSDBG_ROOT 0x0080
|
|
#define NFSDBG_CALLBACK 0x0100
|
|
#define NFSDBG_CLIENT 0x0200
|
|
#define NFSDBG_MOUNT 0x0400
|
|
#define NFSDBG_FSCACHE 0x0800
|
|
#define NFSDBG_PNFS 0x1000
|
|
#define NFSDBG_PNFS_LD 0x2000
|
|
#define NFSDBG_STATE 0x4000
|
|
#define NFSDBG_ALL 0xFFFF
|
|
|
|
|
|
#endif /* _UAPI_LINUX_NFS_FS_H */
|