File Index
Files and directories
Sign in
FILE

nfs_common.h

File preview with syntax highlighting.

linux-6.19.14/include/linux/nfs_common.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/*
 3 * This file contains constants and methods used by both NFS client and server.
 4 */
 5#ifndef _LINUX_NFS_COMMON_H
 6#define _LINUX_NFS_COMMON_H
 7
 8#include <linux/errno.h>
 9#include <uapi/linux/nfs.h>
10
11/* Mapping from NFS error code to "errno" error code. */
12
13int nfs_stat_to_errno(enum nfs_stat status);
14int nfs4_stat_to_errno(int stat);
15
16__u32 nfs_localio_errno_to_nfs4_stat(int errno);
17
18#endif /* _LINUX_NFS_COMMON_H */
~/ Read-only file preview.