summaryrefslogtreecommitdiff
path: root/e2fsck/problem.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2014-08-10 18:36:53 -0400
committerTheodore Ts'o <tytso@mit.edu>2014-08-10 18:37:28 -0400
commit49a3749aded829c1802cb5e0a972a83ace7629b0 (patch)
tree302643819578586461b9041cf0aa8dbdba479f6e /e2fsck/problem.h
parent78c666b832b4c703aa0a87e7f34ccc8d15b00261 (diff)
downloade2fsprogs-49a3749aded829c1802cb5e0a972a83ace7629b0.tar.gz
e2fsck: clear inline_data inode flag if EA missing
If i_size indicates that an inode requires a system.data extended attribute to hold overflow from i_blocks but the EA cannot be found, offer to truncate the file. 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 f051c111..1f0be2dc 100644
--- a/e2fsck/problem.h
+++ b/e2fsck/problem.h
@@ -609,6 +609,9 @@ struct problem_context {
/* Inode logical block is misaligned */
#define PR_1_MISALIGNED_CLUSTER 0x010074
+/* Inode has INLINE_DATA_FL flag but extended attribute not found */
+#define PR_1_INLINE_DATA_NO_ATTR 0x010075
+
/*
* Pass 1b errors
*/