]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: extract common error handling function
authorJohn Keeping <jkeeping@inmusicbrands.com>
Tue, 6 Aug 2024 17:16:00 +0000 (18:16 +0100)
committerJohn Keeping <jkeeping@inmusicbrands.com>
Tue, 6 Aug 2024 17:16:00 +0000 (18:16 +0100)
commit7903560fa34fe1810cdaf3dcda7cafbdefb488ac
tree1ec906b437a85090d0a6fc97bd0db0c02f14bd67
parenta75c7a102e5dc3408ce8603a8722ba24f589971c
libmount: extract common error handling function

Extract the logic for whether to continue trying more filesystem types
to a function so that it can be reused to make this consistent between
do_mount_by_pattern() and do_mount_by_types().

Signed-off-by: John Keeping <jkeeping@inmusicbrands.com>
libmount/src/context_mount.c