commit | cc2c39d605d23e7f1fbc376bf011fd06e46ee79f | [log] [tgz] |
---|---|---|
author | Johannes Thumshirn <jthumshirn@suse.de> | Wed Nov 28 09:54:54 2018 +0100 |
committer | David Sterba <dsterba@suse.com> | Mon Dec 17 14:51:41 2018 +0100 |
tree | c2eed4b8f7dd2b59cfb2d58b2edc2516c7ef2260 | |
parent | a5fb11429167ee6ddeeacc554efaf5776b36433a [diff] |
btrfs: don't initialize 'offset' in map_private_extent_buffer() In map_private_extent_buffer() the 'offset' variable is initialized to a page aligned version of the 'start' parameter. But later on it is overwritten with either the offset from the extent buffer's start or 0. So get rid of the initial initialization. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: David Sterba <dsterba@suse.com>