ncp_fs_i.h 540 B

123456789101112131415161718192021222324252627282930
  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. __u8 file_handle[6];
  24. struct inode vfs_inode;
  25. };
  26. #endif /* _LINUX_NCP_FS_I */