git: sys/vfs/msdosfs: Take inusemap inconsistency as an error, not invariants violation

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Tue Feb 1 09:29:48 PST 2022


commit 5dd3291fafdd28db2c56c917307681b3869a11c4
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Wed Feb 2 01:23:17 2022 +0900

    sys/vfs/msdosfs: Take inusemap inconsistency as an error, not invariants violation
    
    In other words, stop silently accepting freeing free cluster in
    non-debug kernels, but return the error to the caller.  Modify callers
    to handle errors from usemap_free().
    
    taken-from FreeBSD 2c9a1c22c323b069d1f4883170349545c94b7b8d

Summary of changes:
 sys/vfs/msdosfs/msdosfs_fat.c | 33 ++++++++++++++++++++++++---------
 1 file changed, 24 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5dd3291fafdd28db2c56c917307681b3869a11c4


-- 
DragonFly BSD source repository


More information about the Commits mailing list