diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-24 14:13:57 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-24 14:13:57 -0700 |
commit | e92b05dec8865619ea2608c5c11a54b01467482f (patch) | |
tree | 8de4b388a3d70d068bf6ee0469a56987f68bef5e /virt | |
parent | d1f3e68efb4c98fa229b39ff09a8984ef16cafa4 (diff) | |
download | linux-e92b05dec8865619ea2608c5c11a54b01467482f.tar.bz2 |
fremap: get rid of broken 'end' variable
Thomas Pollet points out that the 'end' variable is broken. It was
computed based on start/size before they were page-aligned, and as such
doesn't actually match any of the other actions we take. The overflow
test on end was also redundant, since we had already tested it with the
properly aligned version.
So just get rid of it entirely. The one remaining use for that broken
variable can just use 'start+size' like all the other cases already did.
Reported-by: Thomas Pollet <thomas.pollet@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions