]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsfd: small cleanup to mountinfo/nodev code
authorKarel Zak <kzak@redhat.com>
Wed, 8 Sep 2021 08:49:43 +0000 (10:49 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 6 Oct 2021 09:01:54 +0000 (11:01 +0200)
commit95b4a78918ccc6f990026f54b3e239c3223629d6
tree7655bd582a9597716d08029d9992d8cf8cd15cd1
parentcb6f0c4a1516ff0f5043fdd58164a3df9b707c7c
lsfd: small cleanup to mountinfo/nodev code

* use path_cxt to open mountinfo (so remove open_mountinfo())
* move all nodev code to one place
* merge add_nodev() to add_nodevs()

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/lsfd.c