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

ext4: replace bogus assertion in ext4_xattr_shift_entries()



We were checking whether computed offsets do not exceed end of block in
ext4_xattr_shift_entries(). However this does not make sense since we
always only decrease offsets. So replace that assertion with a check
whether we really decrease xattrs value offsets.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 1cba4237
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