ncp_fs_i.h 584 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * ncp_fs_i.h
  3. *
  4. * Copyright (C) 1995 Volker Lendecke
  5. *
  6. */
  7. #ifndef _LINUX_NCP_FS_I
  8. #define _LINUX_NCP_FS_I
  9. #ifdef __KERNEL__
  10. /*
  11. * This is the ncpfs part of the inode structure. This must contain
  12. * all the information we need to work with an inode after creation.
  13. */
  14. struct ncp_inode_info {
  15. __le32 dirEntNum;
  16. __le32 DosDirNum;
  17. __u8 volNumber;
  18. __le32 nwattr;
  19. struct mutex open_mutex;
  20. atomic_t opened;
  21. int access;
  22. int flags;
  23. #define NCPI_KLUDGE_SYMLINK 0x0001
  24. __u8 file_handle[6];
  25. struct inode vfs_inode;
  26. };
  27. #endif /* __KERNEL__ */
  28. #endif /* _LINUX_NCP_FS_I */