linux-stable/drivers/staging/ncpfs/ncp_fs_i.h
Stephen Hemminger 1bb8155080 ncpfs: move net/ncpfs to drivers/staging/ncpfs
The Netware Core Protocol is a file system that talks to
Netware clients over IPX. Since IPX has been dead for many years
move the file system into staging for eventual interment.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-28 13:55:01 +01:00

31 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 */