Skip to content
Commit 443a8c41 authored by Jan Kara's avatar Jan Kara Committed by Theodore Ts'o
Browse files

ext4: properly align shifted xattrs when expanding inodes



We did not count with the padding of xattr value when computing desired
shift of xattrs in the inode when expanding i_extra_isize. As a result
we could create unaligned start of inline xattrs. Account for alignment
properly.

CC: stable@vger.kernel.org  # 4.4.x-
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 418c12d0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment