Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / lib / libsa / lfsv2.c
blob9d9964b001312c89ecd827a5e0a2dc494e810a37
1 /* $NetBSD: lfsv2.c,v 1.2 2003/04/11 11:27:06 dsl Exp $ */
3 #define LIBSA_LFS
4 #define REQUIRED_LFS_VERSION 2
6 #define ufs_open lfsv2_open
7 #define ufs_close lfsv2_close
8 #define ufs_read lfsv2_read
9 #define ufs_write lfsv2_write
10 #define ufs_seek lfsv2_seek
11 #define ufs_stat lfsv2_stat
13 #define fs_bsize lfs_bsize
14 #define IFILE_Vx IFILE
16 #ifdef LFS_IFILE_FRAG_ADDRESSING /* XXX see sys/ufs/lfs/ -- not tested */
17 #define INOPBx(fs) INOPF(fs)
18 #else
19 #define INOPBx(fs) INOPB(fs)
20 #endif
22 #define FSMOD "lfs"
23 #define FSMOD2 "ffs"
25 #include "lib/libsa/ufs.c"