From: Jaegeuk Kim <jaegeuk@kernel.org>
To: linux-f2fs-devel@lists.sourceforge.net
Subject: Re: [f2fs-dev] [PATCH 1/2 v2] f2fs-tools: adjust config file first
Date: Thu, 19 May 2022 17:19:44 -0700 [thread overview]
Message-ID: <YobeoOh9F55TzqJb@google.com> (raw)
In-Reply-To: <20220519234605.633645-1-jaegeuk@kernel.org>
We need to get the definitions first.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
---
Change log from v1:
- fix build problems
tools/f2fscrypt.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/f2fscrypt.c b/tools/f2fscrypt.c
index 4c5d87036225..b406bcf56640 100644
--- a/tools/f2fscrypt.c
+++ b/tools/f2fscrypt.c
@@ -43,6 +43,9 @@
#ifdef __KERNEL__
#include <linux/fs.h>
#endif
+
+#include <f2fs_fs.h>
+
#ifdef HAVE_UUID_UUID_H
#include <uuid/uuid.h>
#else
@@ -55,7 +58,6 @@ typedef unsigned char uuid_t[16];
#ifdef HAVE_SYS_KEY_H
#include <sys/key.h>
#endif
-#include <f2fs_fs.h>
#define F2FS_MAX_KEY_SIZE 64
#define F2FS_MAX_PASSPHRASE_SIZE 1024
--
2.36.1.124.g0e6072fb45-goog
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
prev parent reply other threads:[~2022-05-20 0:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-19 23:46 [f2fs-dev] [PATCH 1/2] f2fs-tools: adjust config file first Jaegeuk Kim
2022-05-19 23:46 ` [f2fs-dev] [PATCH 2/2] android_config: add missing uuid library Jaegeuk Kim
2022-05-20 0:19 ` Jaegeuk Kim [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YobeoOh9F55TzqJb@google.com \
--to=jaegeuk@kernel.org \
--cc=linux-f2fs-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.