Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
32 lines
610 B
C
32 lines
610 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* ncp_fs_i.h
|
|
*
|
|
* Copyright (C) 1995 Volker Lendecke
|
|
*
|
|
*/
|
|
|
|
#ifndef _LINUX_NCP_FS_I
|
|
#define _LINUX_NCP_FS_I
|
|
|
|
/*
|
|
* This is the ncpfs part of the inode structure. This must contain
|
|
* all the information we need to work with an inode after creation.
|
|
*/
|
|
struct ncp_inode_info {
|
|
__le32 dirEntNum;
|
|
__le32 DosDirNum;
|
|
__u8 volNumber;
|
|
__le32 nwattr;
|
|
struct mutex open_mutex;
|
|
atomic_t opened;
|
|
int access;
|
|
int flags;
|
|
#define NCPI_KLUDGE_SYMLINK 0x0001
|
|
#define NCPI_DIR_CACHE 0x0002
|
|
__u8 file_handle[6];
|
|
struct inode vfs_inode;
|
|
};
|
|
|
|
#endif /* _LINUX_NCP_FS_I */
|