nfs_fs_i.h 400 B

12345678910111213141516171819202122232425
  1. #ifndef _NFS_FS_I
  2. #define _NFS_FS_I
  3. #include <asm/types.h>
  4. #include <linux/list.h>
  5. #include <linux/nfs.h>
  6. struct nlm_lockowner;
  7. /*
  8. * NFS lock info
  9. */
  10. struct nfs_lock_info {
  11. u32 state;
  12. u32 flags;
  13. struct nlm_lockowner *owner;
  14. };
  15. /*
  16. * Lock flag values
  17. */
  18. #define NFS_LCK_GRANTED 0x0001 /* lock has been granted */
  19. #define NFS_LCK_RECLAIM 0x0002 /* lock marked for reclaiming */
  20. #endif