aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLukas Czerner <[email protected]>2022-10-04 15:58:03 +0200
committerTheodore Ts'o <[email protected]>2022-12-01 10:46:54 -0500
commite3ea75ee651daf5e434afbfdb7dbf75e200ea1f6 (patch)
tree05196c38534cf3949eb0e172f98907dd233b9bcc /include
parent56d0d0b9289dae041becc7ee6bd966a00dd610e0 (diff)
ext4: journal_path mount options should follow links
Before the commit 461c3af045d3 ("ext4: Change handle_mount_opt() to use fs_parameter") ext4 mount option journal_path did follow links in the provided path. Bring this behavior back by allowing to pass pathwalk flags to fs_lookup_param(). Fixes: 461c3af045d3 ("ext4: Change handle_mount_opt() to use fs_parameter") Signed-off-by: Lukas Czerner <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]> Cc: [email protected]
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs_parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs_parser.h b/include/linux/fs_parser.h
index f103c91139d4..01542c4b87a2 100644
--- a/include/linux/fs_parser.h
+++ b/include/linux/fs_parser.h
@@ -76,6 +76,7 @@ static inline int fs_parse(struct fs_context *fc,
extern int fs_lookup_param(struct fs_context *fc,
struct fs_parameter *param,
bool want_bdev,
+ unsigned int flags,
struct path *_path);
extern int lookup_constant(const struct constant_table tbl[], const char *name, int not_found);