summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKaho Ng <ngkaho1234@gmail.com>2016-05-16 00:16:37 +0800
committerKaho Ng <ngkaho1234@gmail.com>2016-05-16 01:08:38 +0800
commitd6816b4c0d80b8068b22db6161ec660506ad58d7 (patch)
treeff32ca371938465df96c1636012d7b40f4ef98e0 /include
parent61098c719f30316c4bac054170c262d0419849a9 (diff)
ext4_xattr: better handling on some corner error case
Diffstat (limited to 'include')
-rw-r--r--include/ext4_xattr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ext4_xattr.h b/include/ext4_xattr.h
index 097fabf..a5cd814 100644
--- a/include/ext4_xattr.h
+++ b/include/ext4_xattr.h
@@ -50,6 +50,7 @@ extern "C" {
struct ext4_xattr_item {
/* This attribute should be stored in inode body */
bool in_inode;
+ bool is_data;
uint8_t name_index;
char *name;
@@ -66,6 +67,8 @@ struct ext4_xattr_ref {
struct ext4_inode_ref *inode_ref;
bool dirty;
size_t ea_size;
+ int32_t block_size_rem;
+ int32_t inode_size_rem;
struct ext4_fs *fs;
void *iter_arg;