]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm: use lseek consistently
authorMariusz Tkaczyk <mariusz.tkaczyk@dell.com>
Thu, 26 Jun 2025 05:29:37 +0000 (06:29 +0100)
committerNigel Croxon <109605997+ncroxon@users.noreply.github.com>
Wed, 9 Jul 2025 15:40:08 +0000 (11:40 -0400)
commit787cc1b60130b8031be59e49d54463c58cd8cf74
treef0deb1e478b81110922e8d56cc7960c1bc6ffa62
parent34f21b7acea8afbea9348d0f421beeeedca7a136
mdadm: use lseek consistently

mdadm used both lseek and lseek64 for legacy reasons. These days, we just
need to configure __USE_LARGEFILE64 macro. Fixing this issue enables
musl compilation.

Add macro, and change all lseek64 to lseek. Fix style issues in these
lines.

Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@dell.com>
Grow.c
mdadm.h
raid6check.c
restripe.c
super-ddf.c
super-intel.c
super0.c
super1.c
swap_super.c
util.c