home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / system / filesyst / sysv / sysvfs53.z / sysvfs53 / include / linux / sysv_fs_i.h next >
Encoding:
C/C++ Source or Header  |  1993-07-21  |  516 b   |  21 lines

  1. #ifndef _SYSV_FS_I
  2. #define _SYSV_FS_I
  3.  
  4. /*
  5.  * SystemV/Coherent FS inode data in memory
  6.  */
  7. struct sysv_inode_info {
  8.     unsigned long i_data[10+1+1+1];    /* zone numbers: max. 10 data blocks,
  9.                      * then 1 indirection block,
  10.                      * then 1 double indirection block,
  11.                      * then 1 triple indirection block.
  12.                      */
  13.     /* the following are only used if  block_size < BLOCK_SIZE  */
  14.     int i_lock;            /* lock to protect against simultaneous    */
  15.     struct wait_queue * i_wait;    /* write and truncate            */
  16.                     /*                    */
  17. };
  18.  
  19. #endif
  20.  
  21.