fs_parser: move fsparam_string_empty() helper into header
authorLuis Henriques (SUSE) <luis.henriques@linux.dev>
Tue, 12 Mar 2024 10:47:57 +0000 (10:47 +0000)
committerChristian Brauner <brauner@kernel.org>
Tue, 26 Mar 2024 08:01:18 +0000 (09:01 +0100)
commit7b30851a70645400ba37a184b9a2f10e1d6987a6
tree94c92db469ca8bce1ce07767e3275cf9b4db3465
parent2a82bb02941fb53d1f8df2a360e7798ae3d9d962
fs_parser: move fsparam_string_empty() helper into header

Since both ext4 and overlayfs define the same macro to specify string
parameters that may allow empty values, define it in an header file so
that this helper can be shared.

Signed-off-by: Luis Henriques (SUSE) <luis.henriques@linux.dev>
Link: https://lore.kernel.org/r/20240312104757.27333-1-luis.henriques@linux.dev
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/ext4/super.c
fs/overlayfs/params.c
include/linux/fs_parser.h