kernel_platform/common (Android common kernel, android16-6.12) from opendevices.sony.net, "Open source archive for 73.1.A.2.74" (Xperia 1 VIII), unmodified. This is the kernel Sony ships, so stock-built modules (e.g. the WLAN driver, whose source is not in the archive) match it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
19 lines
458 B
C
19 lines
458 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* This file contains constants and methods used by both NFS client and server.
|
|
*/
|
|
#ifndef _LINUX_NFS_COMMON_H
|
|
#define _LINUX_NFS_COMMON_H
|
|
|
|
#include <linux/errno.h>
|
|
#include <uapi/linux/nfs.h>
|
|
|
|
/* Mapping from NFS error code to "errno" error code. */
|
|
|
|
int nfs_stat_to_errno(enum nfs_stat status);
|
|
int nfs4_stat_to_errno(int stat);
|
|
|
|
__u32 nfs_localio_errno_to_nfs4_stat(int errno);
|
|
|
|
#endif /* _LINUX_NFS_COMMON_H */
|