Age | Commit message (Collapse) | Author | Files | Lines |
|
Reported-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
|
|
Fix to `warning: undefined preprocessor identifier' messages.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
|
|
This fixes the buffer length passed to blkid_probe_get_buffer() calls,
and the block size byte order (on little-endian systems).
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
|
|
Reported-by: David Zeuthen <davidz@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Reported-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Fix the following clang warning:
exfat.c:130:41: warning: conversion specifies type 'unsigned short' but
the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
blkid_probe_sprintf_version(pr, "%hu.%hu",
~~^
%c
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
|
|
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
|
|
The position pointer is dereferenced before the check in the
for() in the list_for_each_safe macro.
Note that struct list_head should not contain NULL pointers. See
INIT_LIST_HEAD() macro.
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
libblkid/src/probe.c +798 blkid_probe_get_idmag(32) error: we previously assumed 'id' could be null.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
|
|
Signed-off-by: Philipp Marek <philipp.marek@linbit.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Philipp Marek <philipp.marek@linbit.com>
|
|
Validate that di_br_size !=0 and br_per_di_br != 0. If one of them is 0, a
division-by-zero error will be triggered.
Signed-off-by: Timo Warns <warns@pre-sense.de>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
-Wsign-compare]
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
* 'cramfs' of https://github.com/kerolasa/lelux-utiliteetit:
include: move fsck return values to exitcodes.h
include: move disk-utils/mkfs.h -> include/exitcodes.h
mkfs.cramfs: coding style
mkfs.cramfs: include-what-you-use header check
mkfs.cramfs: error printing fixes
mkfs.cramfs: convert spaces to tabs
mkfs.cramfs: validate numeric user inputs
mkfs.cramfs: few symbolic exit codes where missing
md5: use symbolical digest length
mkfs.cramfs: use program_invocation_short_name
mkfs.cramfs: use xalloc.h
fsck.cramfs: add missed strings to translation
fsck.cramfs: coding style
fsck.cramfs: use xalloc.h
fsck.cramfs: retire die function
cramfs.h: coding style
cramfs: use stdint.h instead of u{8,16,32}
cramfs_common: coding style
Conflicts:
disk-utils/Makefile.am
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
when getting the next cluster id, clear the 4 most significant bits
after converting to machine endian
Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
|
|
[kzak@redhat.com: - use %jd for the offset in debug message]
Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Magic hash lenght number 16 is turned to a definition MD5LENGTH,
and put into use everywhere where md5 checksum is in use.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
|
|
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
|
|
In the minix.h two definitions where renamed, so that the single
definition is reusable in fsck.minix, mkfs.minix and libblkid.
BLOCK_SIZE_BITS -> MINIX_BLOCK_SIZE_BITS
BLOCK_SIZE -> MINIX_BLOCK_SIZE
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
|
|
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
[kzak@redhat.com: - remove memcmp(zero_uuid, ...), library already
checks for empty UUIDs]
Signed-off-by: "Richard W.M. Jones" <rjones@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|