From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id D2D493851C01; Wed, 26 Oct 2022 15:05:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D2D493851C01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666796717; bh=ZT9KTTxYxFFYim+wB0BJSvWe/s5yTB21Fknm+QmIAWQ=; h=From:To:Subject:Date:From; b=ZrGKQ9CO4UAJhkcmzg7TQ7Z4quoADUt/Q7FXuwhXNo8YYq9d38JfXbHY/HPjCbOBY s1GUA7Y3XBAzCTyEX/VNO0GhctzWgFa2wvmlLUZxkpeAXYnqKGCP6Mv9ShKebUv6Wh VyHTXDySPd/YgRCv7FP3gsji+cKGrDhdaASgI/38= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Szabolcs Nagy To: glibc-cvs@sourceware.org Subject: [glibc/arm/morello/main] linux: Mimic kernel defition for BLOCK_SIZE X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/arm/morello/main X-Git-Oldrev: 1cc5513114e76083669cba1b11252aad35525e69 X-Git-Newrev: 4dad97e2a2e510c6b53a0add29a2188714fcf4ab Message-Id: <20221026150517.D2D493851C01@sourceware.org> Date: Wed, 26 Oct 2022 15:05:17 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4dad97e2a2e510c6b53a0add29a2188714fcf4ab commit 4dad97e2a2e510c6b53a0add29a2188714fcf4ab Author: Adhemerval Zanella Date: Wed Aug 10 14:24:45 2022 -0300 linux: Mimic kernel defition for BLOCK_SIZE To avoid possible warnings if the kernel header is included before sys/mount.h. Reviewed-by: Florian Weimer (cherry picked from commit c68b6044bc7945716431f1adc091b17c39b80a06) Diff: --- sysdeps/unix/sysv/linux/sys/mount.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/unix/sysv/linux/sys/mount.h b/sysdeps/unix/sysv/linux/sys/mount.h index f965986ba8..df6b0dbb42 100644 --- a/sysdeps/unix/sysv/linux/sys/mount.h +++ b/sysdeps/unix/sysv/linux/sys/mount.h @@ -27,8 +27,8 @@ #include #include -#define BLOCK_SIZE 1024 #define BLOCK_SIZE_BITS 10 +#define BLOCK_SIZE (1<