[PATCH] fstools: remove redundant F2FS_MINSIZE definition

Rui Salvaterra rsalvaterra at gmail.com
Wed Apr 3 17:24:29 PDT 2024


On Wed, 3 Apr 2024 at 09:30, Rui Salvaterra <rsalvaterra at gmail.com> wrote:
>
> Keep only the rootdisk.c definition, where it's used.
>
> Signed-off-by: Rui Salvaterra <rsalvaterra at gmail.com>
> ---
>  libfstools/common.h | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/libfstools/common.h b/libfstools/common.h
> index 28b82d2..24504d6 100644
> --- a/libfstools/common.h
> +++ b/libfstools/common.h
> @@ -19,8 +19,6 @@
>  #include "libfstools.h"
>  #include "volume.h"
>
> -#define F2FS_MINSIZE           (100ULL * 1024ULL * 1024ULL)
> -
>  int read_uint_from_file(char *dirname, char *filename, unsigned int *i);
>  char *read_string_from_file(const char *dirname, const char *filename, char *buf, size_t bufsz);
>  int block_file_identify(FILE *f, uint64_t offset);
> --
> 2.43.2

Ugh, forget this one, I screwed up. The definition we need to keep is
the one in common.h. Will send a new patch shortly.



More information about the openwrt-devel mailing list