summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2013-10-24 00:33:29 +0000
committerpfg <pfg@FreeBSD.org>2013-10-24 00:33:29 +0000
commit9b0e32e06b35cdfa911df3ef52ecb2a4bb31b65c (patch)
treef72361a3dcda8e8e87edb60cf6468c674604a885 /sys/fs
parentee10fe79cc8419f101618bd10042d00590f46382 (diff)
downloadFreeBSD-src-9b0e32e06b35cdfa911df3ef52ecb2a4bb31b65c.zip
FreeBSD-src-9b0e32e06b35cdfa911df3ef52ecb2a4bb31b65c.tar.gz
UFS2: make di_extsize unsigned.
di_extsize is the EA size and as such it should be unsigned. Adjust related types for consistency. Reviewed by: mckusick (previous version) MFC after: 3 weeks
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/ext2fs/ext2_vnops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/ext2fs/ext2_vnops.c b/sys/fs/ext2fs/ext2_vnops.c
index c5be7d0..04ef9e2 100644
--- a/sys/fs/ext2fs/ext2_vnops.c
+++ b/sys/fs/ext2fs/ext2_vnops.c
@@ -1689,7 +1689,7 @@ ext2_ind_read(struct vop_read_args *ap)
NOCRED, blkoffset + uio->uio_resid, seqcount,
0, &bp);
} else if (seqcount > 1) {
- int nextsize = blksize(fs, ip, nextlbn);
+ u_int nextsize = blksize(fs, ip, nextlbn);
error = breadn(vp, lbn,
size, &nextlbn, &nextsize, 1, NOCRED, &bp);
} else
OpenPOWER on IntegriCloud