9660srv: do not ignore upper 32 bits of offset when reading directory
This commit is contained in:
parent
0e09795831
commit
b33f4c0301
2 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ static void iwalkup(Xfile*);
|
|||
static void iwalk(Xfile*, char*);
|
||||
static void iopen(Xfile*, int);
|
||||
static void icreate(Xfile*, char*, long, int);
|
||||
static long ireaddir(Xfile*, uchar*, long, long);
|
||||
static long ireaddir(Xfile*, uchar*, vlong, long);
|
||||
static long iread(Xfile*, char*, vlong, long);
|
||||
static long iwrite(Xfile*, char*, vlong, long);
|
||||
static void iclunk(Xfile*);
|
||||
|
@ -314,7 +314,7 @@ icreate(Xfile *f, char *name, long perm, int mode)
|
|||
}
|
||||
|
||||
static long
|
||||
ireaddir(Xfile *f, uchar *buf, long offset, long count)
|
||||
ireaddir(Xfile *f, uchar *buf, vlong offset, long count)
|
||||
{
|
||||
Isofile *ip = f->ptr;
|
||||
Dir d;
|
||||
|
|
|
@ -54,7 +54,7 @@ struct Xfsub
|
|||
void (*walk)(Xfile*, char*);
|
||||
void (*open)(Xfile*, int);
|
||||
void (*create)(Xfile*, char*, long, int);
|
||||
long (*readdir)(Xfile*, uchar*, long, long);
|
||||
long (*readdir)(Xfile*, uchar*, vlong, long);
|
||||
long (*read)(Xfile*, char*, vlong, long);
|
||||
long (*write)(Xfile*, char*, vlong, long);
|
||||
void (*clunk)(Xfile*);
|
||||
|
|
Loading…
Reference in a new issue