commit | 9e20cf223ad6e44536f7e3116413cc8a445618c7 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Mon Feb 25 05:55:05 2013 +0000 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Feb 28 20:12:30 2013 -0500 |
tree | 7cec204f7f42e2a93ca85fc7f520752cf23b2da0 | |
parent | bb21ddf59611cc883eeb3c3d149eae35eae9ae30 [diff] |
e2p: Fix 's' handling in parse_num_blocks2() parse_num_blocks2() wrongly did: num << 1; when log_block_size < 0. That is obviously wrong as such statement has no effect (and the compiler properly warns about it). Callers expect returned value to be in bytes when log_block_size < 0 so fix the statement accordingly. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu>