diff mbox series

fstools: remove redundant F2FS_MINSIZE definition

Message ID 20240403082936.305816-2-rsalvaterra@gmail.com
State Rejected
Delegated to: Rui Salvaterra
Headers show
Series fstools: remove redundant F2FS_MINSIZE definition | expand

Commit Message

Rui Salvaterra April 3, 2024, 8:29 a.m. UTC
Keep only the rootdisk.c definition, where it's used.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
---
 libfstools/common.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Rui Salvaterra April 4, 2024, 12:24 a.m. UTC | #1
On Wed, 3 Apr 2024 at 09:30, Rui Salvaterra <rsalvaterra@gmail.com> wrote:
>
> Keep only the rootdisk.c definition, where it's used.
>
> Signed-off-by: Rui Salvaterra <rsalvaterra@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.
diff mbox series

Patch

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);