forked from luck/tmp_suning_uos_patched
8e3f90459b
Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
34 lines
584 B
C
34 lines
584 B
C
/*
|
|
* ncp_fs_i.h
|
|
*
|
|
* Copyright (C) 1995 Volker Lendecke
|
|
*
|
|
*/
|
|
|
|
#ifndef _LINUX_NCP_FS_I
|
|
#define _LINUX_NCP_FS_I
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
/*
|
|
* 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
|
|
__u8 file_handle[6];
|
|
struct inode vfs_inode;
|
|
};
|
|
|
|
#endif /* __KERNEL__ */
|
|
|
|
#endif /* _LINUX_NCP_FS_I */
|