mount-util: EOVERFLOW might have other causes than buffer size issues
authorLennart Poettering <lennart@poettering.net>
Thu, 23 Nov 2017 11:44:49 +0000 (12:44 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Nov 2017 12:28:06 +0000 (13:28 +0100)
commitc83b20d73bc839cbb9d08eec682d4970992a78b5
tree9671735c36e280bce8a74d9bb8f0a419389632d9
parent0d9bcb7c372e4823e83f4366d1d5239b2044d038
mount-util: EOVERFLOW might have other causes than buffer size issues

When we get EOVERFLOW this might be caused by untriggered nfs4 mounts
(see discussion at
https://github.com/systemd/systemd/pull/7395#issuecomment-346164481 and
further down).

Handle this nicely by falling back to fdinfo-based mntid determination.

Fixes: #7082
src/basic/mount-util.c