util/fusermount.c: Assume the kernel supports UMOUNT_NOFOLLOW (#574)
authorSargun Dhillon <sargun@sargun.me>
Sun, 27 Dec 2020 11:17:46 +0000 (03:17 -0800)
committerGitHub <noreply@github.com>
Sun, 27 Dec 2020 11:17:46 +0000 (11:17 +0000)
commitb96e4758041ffac1b8d8c39f4897edd6182a46e9
tree7fad7a7178b3bd6a72bc43fbf7c10ab4e7ba797f
parent9bfbeb576c5901b62a171d35510f0d1a922020b7
util/fusermount.c: Assume the kernel supports UMOUNT_NOFOLLOW (#574)

UMOUNT_NOFOLLOW was added in Kernel 2.6.34. It's been 10 years since it's been added
Kernel 5.9, and 5.10 break this check mechanism[1]. Let's deprecate it.

[1]: https://lore.kernel.org/linux-fsdevel/20201223102604.2078-1-sargun@sargun.me/

Signed-off-by: Sargun Dhillon <sargun@sargun.me>
util/fusermount.c