]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linux_renameat2: improve flag checks
authorEd Maste <emaste@FreeBSD.org>
Thu, 7 Nov 2019 15:51:44 +0000 (15:51 +0000)
committerDmitry Chagin <dchagin@FreeBSD.org>
Thu, 10 Jun 2021 09:27:45 +0000 (12:27 +0300)
commit4d0dc71a7bf0e5ffd2a4a60244f915642d3d2899
tree027f7f63981e9e0ef554b6fb2a3bffa3d63b3418
parent2d7565bbbc537b1e338bd98468bd7fc25ccccdca
linux_renameat2: improve flag checks

In the cases where Linux returns an error (e.g. passing in an undefined
flag) there's no need for us to emit a message.  (The target of this
message is a developer working on the linuxulatorm, not the author of
presumably broken Linux software).

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D21606

(cherry picked from commit 01b9ee4c509e2882147af35eea4772d06ecd4150)
sys/compat/linux/linux_file.c
sys/compat/linux/linux_file.h