summaryrefslogtreecommitdiff
path: root/e2fsck/problem.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2015-07-16 14:21:22 -0400
committerTheodore Ts'o <tytso@mit.edu>2015-07-16 15:07:59 -0400
commit4ecd63d7869922dab94d88e6e0a4fa4c9f0d0c66 (patch)
tree1be957a531d4f368d87b1af91839aa39c05108bd /e2fsck/problem.h
parentb97bccecfe97270eb15f77d1580f16eb1125fc1c (diff)
downloade2fsprogs-4ecd63d7869922dab94d88e6e0a4fa4c9f0d0c66.tar.gz
e2fsck: check for an encrypted lost+found directory
The /lost+found directory must not be encrypted, since e2fsck won't have any keys. If we find an encrypted lost+found directory, we should delete the directory and recreate it. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'e2fsck/problem.h')
-rw-r--r--e2fsck/problem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/e2fsck/problem.h b/e2fsck/problem.h
index e0b5d14d..5af3edf0 100644
--- a/e2fsck/problem.h
+++ b/e2fsck/problem.h
@@ -1048,6 +1048,9 @@ struct problem_context {
/* Insufficient space to recover lost files */
#define PR_3_NO_SPACE_TO_RECOVER 0x03001A
+/* Lost+found is encrypted */
+#define PR_3_LPF_ENCRYPTED 0x03001B
+
/*
* Pass 3a --- rehashing diretories
*/