fusermount: Close file descriptors with close_range() if possible
authorBernd Schubert <bschubert@ddn.com>
Fri, 13 Sep 2024 18:43:33 +0000 (20:43 +0200)
committerBernd Schubert <bernd.schubert@fastmail.fm>
Mon, 16 Sep 2024 11:59:27 +0000 (13:59 +0200)
commit3fe1b25d51e74416acb26aaf495adb524ee61342
tree96c1853910ea1370f65bb264ef22cb95978ab683
parent5f137f01c1c8f97e9b3207a651090895e33a7dd3
fusermount: Close file descriptors with close_range() if possible

close_range() is much more efficient.

Also remove the lower limit of 3 and set it to 0, as 0 to 1
might have been closed by the application and might be valid.
util/fusermount.c