From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 0C358385C41B; Wed, 24 Aug 2022 13:06:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0C358385C41B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1661346370; bh=ZT9KTTxYxFFYim+wB0BJSvWe/s5yTB21Fknm+QmIAWQ=; h=From:To:Subject:Date:From; b=BJa3TXxacEhG2uo5DpJniZ4dsfK5ml9zrlH2hvMT01SwmZj/tflC3HPn8lMEkuOGs XilLetEE0w93GoAUEdXBT7we/jd3aFu8bBhzyQpx9qbPelb12TH4hpp8N9GqAUJXTG M8TT+111d8GzVOUnzQo2k6SDSIO2AUz/BQ0q8M5w= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/release/2.36/master] linux: Mimic kernel defition for BLOCK_SIZE X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/release/2.36/master X-Git-Oldrev: 1cc5513114e76083669cba1b11252aad35525e69 X-Git-Newrev: 4dad97e2a2e510c6b53a0add29a2188714fcf4ab Message-Id: <20220824130610.0C358385C41B@sourceware.org> Date: Wed, 24 Aug 2022 13:06:10 +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<