diff mbox series

[v3,3/6] common/config: export F2FS_FSCK_PROG

Message ID 20250311080430.3696582-3-chao@kernel.org (mailing list archive)
State New
Headers show
Series [v3,1/6] common/config: remove redundant export variables | expand

Commit Message

Chao Yu March 11, 2025, 8:04 a.m. UTC
Let's export F2FS_FSCK_PROG, then we can use it in
_check_f2fs_filesystem() later.

Cc: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Chao Yu <chao@kernel.org>
---
v3:
- export F2FS_FSCK_PROG, and it will be used latter
 common/config | 1 +
 1 file changed, 1 insertion(+)

Comments

Zorro Lang March 11, 2025, 2:09 p.m. UTC | #1
On Tue, Mar 11, 2025 at 04:04:27PM +0800, Chao Yu wrote:
> Let's export F2FS_FSCK_PROG, then we can use it in
> _check_f2fs_filesystem() later.
> 
> Cc: Jaegeuk Kim <jaegeuk@kernel.org>
> Signed-off-by: Chao Yu <chao@kernel.org>
> ---

Although patch 2 and 3 can be in one patch, I don't mind seperating
them if you'd like.

Reviewed-by: Zorro Lang <zlang@redhat.com>

> v3:
> - export F2FS_FSCK_PROG, and it will be used latter
>  common/config | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/common/config b/common/config
> index 7d017a05..79bec87f 100644
> --- a/common/config
> +++ b/common/config
> @@ -317,6 +317,7 @@ export MKFS_F2FS_PROG=$(set_mkfs_prog_path_with_opts f2fs)
>  export DUMP_F2FS_PROG=$(type -P dump.f2fs)
>  export F2FS_IO_PROG=$(type -P f2fs_io)
>  export F2FS_INJECT_PROG=$(type -P inject.f2fs)
> +export F2FS_FSCK_PROG=$(type -P fsck.f2fs)
>  export BTRFS_UTIL_PROG=$(type -P btrfs)
>  export BTRFS_SHOW_SUPER_PROG=$(type -P btrfs-show-super)
>  export BTRFS_CONVERT_PROG=$(type -P btrfs-convert)
> -- 
> 2.48.1
>
diff mbox series

Patch

diff --git a/common/config b/common/config
index 7d017a05..79bec87f 100644
--- a/common/config
+++ b/common/config
@@ -317,6 +317,7 @@  export MKFS_F2FS_PROG=$(set_mkfs_prog_path_with_opts f2fs)
 export DUMP_F2FS_PROG=$(type -P dump.f2fs)
 export F2FS_IO_PROG=$(type -P f2fs_io)
 export F2FS_INJECT_PROG=$(type -P inject.f2fs)
+export F2FS_FSCK_PROG=$(type -P fsck.f2fs)
 export BTRFS_UTIL_PROG=$(type -P btrfs)
 export BTRFS_SHOW_SUPER_PROG=$(type -P btrfs-show-super)
 export BTRFS_CONVERT_PROG=$(type -P btrfs-convert)