NetBSD/sys/isofs/isofs_bmap.c

24 lines
388 B
C
Raw Normal View History

1993-05-20 07:30:41 +04:00
/*
* $Id: isofs_bmap.c,v 1.2 1993/05/20 03:30:44 cgd Exp $
*/
1993-03-21 12:45:37 +03:00
#include "param.h"
#include "namei.h"
#include "buf.h"
#include "file.h"
#include "vnode.h"
#include "mount.h"
#include "iso.h"
#include "isofs_node.h"
iso_bmap(ip, lblkno, result)
struct iso_node *ip;
int lblkno;
int *result;
{
*result = (ip->iso_extent + lblkno)
* (ip->i_mnt->im_bsize / DEV_BSIZE);
return (0);
}