diff options
Diffstat (limited to 'fs/ext4/inline.c')
-rw-r--r-- | fs/ext4/inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/inline.c b/fs/ext4/inline.c index 8d141c0c8ff9..28c5c3abddb3 100644 --- a/fs/ext4/inline.c +++ b/fs/ext4/inline.c | |||
@@ -61,7 +61,7 @@ static int get_max_inline_xattr_value_size(struct inode *inode, | |||
61 | 61 | ||
62 | /* Compute min_offs. */ | 62 | /* Compute min_offs. */ |
63 | for (; !IS_LAST_ENTRY(entry); entry = EXT4_XATTR_NEXT(entry)) { | 63 | for (; !IS_LAST_ENTRY(entry); entry = EXT4_XATTR_NEXT(entry)) { |
64 | if (!entry->e_value_block && entry->e_value_size) { | 64 | if (!entry->e_value_inum && entry->e_value_size) { |
65 | size_t offs = le16_to_cpu(entry->e_value_offs); | 65 | size_t offs = le16_to_cpu(entry->e_value_offs); |
66 | if (offs < min_offs) | 66 | if (offs < min_offs) |
67 | min_offs = offs; | 67 | min_offs = offs; |