aboutsummaryrefslogtreecommitdiffstats
path: root/e2fsck/problem.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2016-05-29 17:36:43 -0400
committerTheodore Ts'o <tytso@mit.edu>2016-05-29 17:36:43 -0400
commita701823a31505c5765d327d02bb14aa43fc34ae5 (patch)
treec062727c0ae3eff91fec37d85783163629e75cc9 /e2fsck/problem.c
parentc2ff6bac501ce53580fb6d7970606b01f9ed3644 (diff)
downloadplatform_external_e2fsprogs-a701823a31505c5765d327d02bb14aa43fc34ae5.tar.gz
platform_external_e2fsprogs-a701823a31505c5765d327d02bb14aa43fc34ae5.tar.bz2
platform_external_e2fsprogs-a701823a31505c5765d327d02bb14aa43fc34ae5.zip
libsupport: fix gcc -Wall nits
Also add better error checking to mke2fs and e2fsck's calls to quota functions in libsupport.a. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'e2fsck/problem.c')
-rw-r--r--e2fsck/problem.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/e2fsck/problem.c b/e2fsck/problem.c
index 1e645e458..ff91abd93 100644
--- a/e2fsck/problem.c
+++ b/e2fsck/problem.c
@@ -472,6 +472,11 @@ static struct e2fsck_problem problem_table[] = {
N_("@S metadata_csum_seed is not necessary without metadata_csum."),
PROMPT_FIX, PR_PREEN_OK | PR_NO_OK},
+ /* Error initializing quota context */
+ { PR_0_QUOTA_INIT_CTX,
+ N_("Error initializing quota context in support library: %m\n"),
+ PROMPT_NULL, PR_FATAL },
+
/* Pass 1 errors */
/* Pass 1: Checking inodes, blocks, and sizes */
@@ -2006,6 +2011,11 @@ static struct e2fsck_problem problem_table[] = {
N_("Error flushing writes to storage device: %m\n"),
PROMPT_NULL, PR_FATAL },
+ /* Error writing quota information */
+ { PR_6_WRITE_QUOTAS,
+ N_("Error writing quota info for quota type %N: %m\n"),
+ PROMPT_NULL, 0 },
+
{ 0 }
};