git: sys/vfs/ext2fs: Add redundant ext2_brelse() on ext2_bread() error

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Mon Jul 20 11:34:13 PDT 2020


commit f9507b19dfcb670d0003163dcff7a6722eb4abda
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Tue Jul 21 02:10:11 2020 +0900

    sys/vfs/ext2fs: Add redundant ext2_brelse() on ext2_bread() error
    
    Preparation to remove ext2_{bread,brelse}() wrappers that were
    initially adopted, and use regular bread()/brelse() variants.
    
    Although not interested in making cleanups that would cause
    nonfunctional diff from its origin, this one is better without
    FreeBSD compat wrappers.

Summary of changes:
 sys/vfs/ext2fs/ext2_alloc.c  |  3 +++
 sys/vfs/ext2fs/ext2_balloc.c | 10 ++++++++--
 sys/vfs/ext2fs/ext2_vfsops.c |  9 +++++++--
 3 files changed, 18 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f9507b19dfcb670d0003163dcff7a6722eb4abda


-- 
DragonFly BSD source repository



More information about the Commits mailing list