Subversion Repositories shark

Rev

Rev 1063 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1063 tullio 1
 
2 pj 2
/*
1063 tullio 3
 * This program is free software; you can redistribute it and/or modify
4
 * it under the terms of the GNU General Public License as published by
5
 * the Free Software Foundation; either version 2 of the License, or
6
 * (at your option) any later version.
2 pj 7
 *
1063 tullio 8
 * This program is distributed in the hope that it will be useful,
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11
 * GNU General Public License for more details.
2 pj 12
 *
1063 tullio 13
 * You should have received a copy of the GNU General Public License
14
 * along with this program; if not, write to the Free Software
15
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
2 pj 16
 *
17
 */
18
 
1063 tullio 19
 
2 pj 20
#ifndef __MSDOS_I_H__
21
#define __MSDOS_I_H__
22
 
23
#include <fs/types.h>
24
 
25
struct msdos_inode_info {
26
  /* where this inode reside on disk */
27
  __uint32_t lsector;  /* logical sector */
28
  int   offs;     /* offset, in sizeof(struct directoryentry) */
29
  /* where the data of this inode begin*/
30
  __uint16_t scluster; /* start cluster */
31
};
32
 
33
#define MSDOS_I(ptr) (ptr->u.msdos_i)
34
 
35
#endif