Skip to contentSkip to conversation

syscalls/fcntl34: Use flock64 instead of flock

PATCH New Yuriy Kolerov 2 participants 2 messages Aug 16, 2016 Synopsys ARC architecture

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 syscalls/fcntl34: Use flock64 instead of flock

This test uses OFD locks which are supported only by 64-bit ABI. Thus OFD locks must be used with flock64 structure for sure in this test. It is necessary because on some 32-bit targets (e.g. 32-bit uClibc) flock is not mapped to flock64 when _FILE_OFFSET_BITS is not set to 64.

Signed-off-by Yuriy Kolerov <yuriy.kolerov at synopsys.com>
---
 testcases/kernel/syscalls/fcntl/fcntl34.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-syscalls-fcntl34-Use-flock64-instead-of-flock.patch
Type: text/x-patch
Size: 428 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-snps-arc/attachments/20160816/d962680c/attachment.bin>

Applied
#1 lore raw

PATCH v2 1/1 syscalls/fcntl34: Use flock64 instead of flock

Hi!

Quoted 5 lines

This test uses OFD locks which are supported only by 64-bit ABI. Thus OFD locks must be used with flock64 structure for sure in this test. It is necessary because on some 32-bit targets (e.g. 32-bit uClibc) flock is not mapped to flock64 when _FILE_OFFSET_BITS is not set to 64.

Applied, thanks.

Signature · 2 lines
Cyril Hrubis
[email protected]