custom message type for VM_INFO
[minix3.git] / sys / lib / libsa / lfsv1.c
blob909273ee64f74853c3fed4d03759c58f3655ed02
1 /* $NetBSD: lfsv1.c,v 1.9 2013/06/23 07:28:36 dholland Exp $ */
3 #define LIBSA_LFS
4 #define REQUIRED_LFS_VERSION 1
6 #define ufs_open lfsv1_open
7 #define ufs_close lfsv1_close
8 #define ufs_read lfsv1_read
9 #define ufs_write lfsv1_write
10 #define ufs_seek lfsv1_seek
11 #define ufs_stat lfsv1_stat
12 #if defined(LIBSA_ENABLE_LS_OP)
13 #define ufs_ls lfsv1_ls
14 #endif
16 #define ufs_dinode ulfs1_dinode
18 #define fs_bsize lfs_ibsize
19 #define IFILE_Vx IFILE_V1
21 #define INOPBx(fs) LFS_INOPB(fs)
23 #define UFS_NINDIR LFS_NINDIR
24 #define ufs_blkoff(a, b) lfs_blkoff((a), (b))
25 #define ufs_lblkno(a, b) lfs_lblkno((a), (b))
26 #define dblksize(a, b, c) lfs_dblksize((a), (b), (c))
27 #define FSBTODB(fs, daddr) (daddr) /* LFSv1 uses sectors for addresses */
29 #define FSMOD "lfs"
30 #define FSMOD2 "ffs"
32 #include "lib/libsa/ufs.c"