summaryrefslogtreecommitdiff
path: root/e2fsck/problem.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2015-05-16 20:51:40 -0400
committerTheodore Ts'o <tytso@mit.edu>2015-05-16 20:51:40 -0400
commitfaa427d34f8ae3b63f408fa004925d4be10fe66d (patch)
treeceb6316cc2efac8c301db157c8aab4b212e307b7 /e2fsck/problem.h
parent04c66cb25f36d31c6f33196c9a7a8d206012cbba (diff)
downloade2fsprogs-faa427d34f8ae3b63f408fa004925d4be10fe66d.tar.gz
e2fsck: convert block-mapped files to extents on bigalloc fs
As of v4.0, the Linux kernel won't add blocks to a block-mapped file on a bigalloc filesystem. Therefore, convert any such files or directories we find, to prevent fs errors later on. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> 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 24260217..e0b5d14d 100644
--- a/e2fsck/problem.h
+++ b/e2fsck/problem.h
@@ -648,6 +648,9 @@ struct problem_context {
/* extent tree max depth too big */
#define PR_1_EXTENT_BAD_MAX_DEPTH 0x01007F
+/* bigalloc fs cannot have blockmap files */
+#define PR_1_NO_BIGALLOC_BLOCKMAP_FILES 0x010080
+
/*
* Pass 1b errors
*/