aboutsummaryrefslogtreecommitdiff
path: root/lib/libufs/type.c
diff options
context:
space:
mode:
authorJuli Mallett <jmallett@FreeBSD.org>2002-07-11 21:27:26 +0000
committerJuli Mallett <jmallett@FreeBSD.org>2002-07-11 21:27:26 +0000
commitcf6c0643ee115106744ecf223ad64409ef6f70e5 (patch)
tree0cf8d7515279c37fb8390dc4535a26f977e30c97 /lib/libufs/type.c
parentd8c965959fe157a40472eb54dbcc833dd4fa7ebd (diff)
downloadsrc-cf6c0643ee115106744ecf223ad64409ef6f70e5.tar.gz
src-cf6c0643ee115106744ecf223ad64409ef6f70e5.zip
Fill out (zero) and fill in (when doing getino()) the minimum and maximum
inodes in our inoblock (disk->d_ino{min,max}) appropriately.
Notes
Notes: svn path=/head/; revision=99823
Diffstat (limited to 'lib/libufs/type.c')
-rw-r--r--lib/libufs/type.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libufs/type.c b/lib/libufs/type.c
index 220d34b8d222..59b8f8c4cc30 100644
--- a/lib/libufs/type.c
+++ b/lib/libufs/type.c
@@ -105,6 +105,8 @@ ufs_disk_fillout(struct uufsd *disk, const char *name)
disk->d_bsize = 1;
disk->d_fd = fd;
disk->d_inoblock = NULL;
+ disk->d_inomin = 0;
+ disk->d_inomax = 0;
disk->d_name = name;
if (sbread(disk) == -1) {