diff options
author | Mathias Kresin <dev@kresin.me> | 2016-08-09 08:22:24 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-08-11 10:50:10 +0200 |
commit | 5d0b180f798ca53cc04be4cec82c7c56b6c25d97 (patch) | |
tree | e76a103ee9230021ea1c2a7ab1d5c2ad5a89daed /package/kernel/ep80579-drivers/patches/710-3.3-fix-generated-header-locations.patch | |
parent | 360fd10ac9cb92425709c76ded0cd418662e121e (diff) | |
download | master-31e0f0ae-5d0b180f798ca53cc04be4cec82c7c56b6c25d97.tar.gz master-31e0f0ae-5d0b180f798ca53cc04be4cec82c7c56b6c25d97.tar.bz2 master-31e0f0ae-5d0b180f798ca53cc04be4cec82c7c56b6c25d97.zip |
tools: flock: add NFSv4 compatibility
This patch fixes the LEDE build on mounted NFSv4 shares.
The lock file cannot be opened in read-write mode by default, because
then we cannot use flock(1) to lock executable files.
The read-write mode for lock files is necessary on NFSv4 where
flock(2) is emulated by by fcntl() -- this situation is possible to
detect by flock(2) EBADF error.
The patch consist of the following util-linux/flock commits
http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=eb742a1f66d5e3a7c5b43efce741c113f51bef3b
http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=caf1ba11a367ad702fb774653daf9ebdcca49d7b
without including the pre kernel 3.4 support.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [minor cleanup]
Diffstat (limited to 'package/kernel/ep80579-drivers/patches/710-3.3-fix-generated-header-locations.patch')
0 files changed, 0 insertions, 0 deletions