mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-15 15:06:42 +00:00
Update after function renames.
Sponsored by: home.pl
This commit is contained in:
parent
aef8d2449b
commit
fffbc2a500
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163846
@ -620,7 +620,7 @@ find_indirblks32(uint32_t blk, int ind_level, uint32_t *wantedblk)
|
||||
uint32_t idblk[MAXNINDIR];
|
||||
int i;
|
||||
|
||||
bread(fsreadfd, (char *)idblk, fsbtodb(&sblock, blk), (int)sblock.fs_bsize);
|
||||
blread(fsreadfd, (char *)idblk, fsbtodb(&sblock, blk), (int)sblock.fs_bsize);
|
||||
if (ind_level <= 0) {
|
||||
if (find_blks32(idblk, sblock.fs_bsize / sizeof(uint32_t), wantedblk))
|
||||
return 1;
|
||||
@ -662,7 +662,7 @@ find_indirblks64(uint64_t blk, int ind_level, uint64_t *wantedblk)
|
||||
uint64_t idblk[MAXNINDIR];
|
||||
int i;
|
||||
|
||||
bread(fsreadfd, (char *)idblk, fsbtodb(&sblock, blk), (int)sblock.fs_bsize);
|
||||
blread(fsreadfd, (char *)idblk, fsbtodb(&sblock, blk), (int)sblock.fs_bsize);
|
||||
if (ind_level <= 0) {
|
||||
if (find_blks64(idblk, sblock.fs_bsize / sizeof(uint64_t), wantedblk))
|
||||
return 1;
|
||||
|
@ -30,8 +30,7 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
extern int bread(int fd, char *buf, ufs2_daddr_t blk, long size);
|
||||
extern void bwrite(int fd, char *buf, ufs2_daddr_t blk, long size);
|
||||
extern int blread(int fd, char *buf, ufs2_daddr_t blk, long size);
|
||||
extern void rwerror(const char *mesg, ufs2_daddr_t blk);
|
||||
extern int reply(const char *question);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user