freebsd-dev/usr.sbin/makefs/ffs
Ed Maste bc33c99234 makefs: do not call brelse if bread returns an error
If bread returns an error there is no bp to brelse.  One of these
changes was taken from NetBSD commit 0a62dad69f62 ("This works well
enough to populate..."), the rest were found by looking for the same
pattern.

Reviewed by:	imp
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D39069
2023-03-13 22:39:09 -04:00
..
buf.c makefs: Cast daddr_t to off_t before multiplication 2021-06-15 01:22:04 +01:00
buf.h Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
ffs_alloc.c makefs: do not call brelse if bread returns an error 2023-03-13 22:39:09 -04:00
ffs_balloc.c Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
ffs_bswap.c
ffs_extern.h Remove #define _KERNEL hacks from libprocstat 2021-02-21 11:38:21 +02:00
ffs_subr.c Fix -Wpointer-sign warnings in makefs and mkimg 2021-01-07 09:26:21 +00:00
Makefile.inc makefs: Ignore some sign comparison warnings from GCC. 2022-11-23 10:38:29 -08:00
mkfs.c makefs: Cast daddr_t to off_t before multiplication 2021-06-15 01:22:04 +01:00
newfs_extern.h
ufs_bmap.c
ufs_bswap.h
ufs_inode.h makefs: whitespace cleanup (remove space before tab) 2022-09-20 10:26:24 -04:00