Whamcloud - gitweb
e2fsck: map PROMPT_* values to prompt messages
authorAndreas Dilger <adilger@dilger.ca>
Wed, 8 Dec 2021 07:51:12 +0000 (00:51 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 3 May 2022 00:39:37 +0000 (20:39 -0400)
commitc1bd25333e8986b081b82a8eb8c9173a0c7480af
tree25e59e2b0a3431d8d59a2016565c03bd0bb232d3
parent63f265c857e79bf59982985158154b3edb429e70
e2fsck: map PROMPT_* values to prompt messages

It isn't totally clear when searching the code for PROMPT_*
constants from problem codes where these messages come from.
Similarly, there isn't a direct mapping from the prompt string
to the constant.

Add comments that make this mapping more clear.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/problem.c