/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _LINUX_NFS4_MOUNT_H #define _LINUX_NFS4_MOUNT_H /* * linux/include/linux/nfs4_mount.h * * Copyright (C) 2002 Trond Myklebust * * structure passed from user-space to kernel-space during an nfsv4 mount */ /* * WARNING! Do not delete or change the order of these fields. If * a new field is required then add it to the end. The version field * tracks which fields are present. This will ensure some measure of * mount-to-kernel version compatibility. Some of these aren't used yet * but here they are anyway. */ #define NFS4_MOUNT_VERSION … struct nfs_string { … }; struct nfs4_mount_data { … }; /* bits in the flags field */ /* Note: the fields that correspond to existing NFSv2/v3 mount options * should mirror the values from include/linux/nfs_mount.h */ #define NFS4_MOUNT_SOFT … #define NFS4_MOUNT_INTR … #define NFS4_MOUNT_NOCTO … #define NFS4_MOUNT_NOAC … #define NFS4_MOUNT_STRICTLOCK … #define NFS4_MOUNT_UNSHARED … #define NFS4_MOUNT_FLAGMASK … #endif