ncp_fs_i.h 571 B

12345678910111213141516171819202122232425262728293031
  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. /*
  10. * This is the ncpfs part of the inode structure. This must contain
  11. * all the information we need to work with an inode after creation.
  12. */
  13. struct ncp_inode_info {
  14. __le32 dirEntNum;
  15. __le32 DosDirNum;
  16. __u8 volNumber;
  17. __le32 nwattr;
  18. struct mutex open_mutex;
  19. atomic_t opened;
  20. int access;
  21. int flags;
  22. #define NCPI_KLUDGE_SYMLINK 0x0001
  23. #define NCPI_DIR_CACHE 0x0002
  24. __u8 file_handle[6];
  25. struct inode vfs_inode;
  26. };
  27. #endif /* _LINUX_NCP_FS_I */