commit | a60697f411eb365fb09e639e6f183fe33d1eb796 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Fri May 31 19:38:56 2013 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri May 31 19:38:56 2013 -0400 |
tree | 63984e881d515f73892c6d1d1336ac2fe084bb37 | |
parent | e7293fd146846e2a44d29e0477e0860c60fb856b [diff] |
ext4: fix data offset overflow in ext4_xattr_fiemap() on 32-bit archs On 32-bit architectures with 32-bit sector_t computation of data offset in ext4_xattr_fiemap() can overflow resulting in reporting bogus data location. Fix the problem by typing block number to proper type before shifting. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu>