diff options
author | Jan Kara <jack@suse.cz> | 2016-08-11 18:00:01 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-08-11 18:00:01 +0200 |
commit | 443a8c41cd49de66a3fda45b32b9860ea0292b84 (patch) | |
tree | 7e7eb4337bdbfa1507cd6af268e4fee1934ce7dd /fs/ext4/inline.c | |
parent | ext4: fix xattr shifting when expanding inodes part 2 (diff) | |
download | linux-443a8c41cd49de66a3fda45b32b9860ea0292b84.tar.xz linux-443a8c41cd49de66a3fda45b32b9860ea0292b84.zip |
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: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext4/inline.c')
0 files changed, 0 insertions, 0 deletions