Commit | Line | Data |
---|---|---|
584fddaa | 1 | /* |
4c45483e | 2 | * $Id: isofs_bmap.c,v 1.2 1993/07/20 03:27:26 jkh Exp $ |
584fddaa JH |
3 | */ |
4 | ||
15637ed4 RG |
5 | #include "param.h" |
6 | #include "namei.h" | |
7 | #include "buf.h" | |
8 | #include "file.h" | |
9 | #include "vnode.h" | |
10 | #include "mount.h" | |
11 | ||
12 | #include "iso.h" | |
13 | #include "isofs_node.h" | |
14 | ||
4c45483e | 15 | int |
15637ed4 | 16 | iso_bmap(ip, lblkno, result) |
4c45483e GW |
17 | struct iso_node *ip; |
18 | int lblkno; | |
19 | int *result; | |
15637ed4 RG |
20 | { |
21 | *result = (ip->iso_extent + lblkno) | |
22 | * (ip->i_mnt->im_bsize / DEV_BSIZE); | |
23 | return (0); | |
24 | } |