git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a9b499
)
block: reorganize rounding of max_discard_sectors
author
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 2 Aug 2012 07:48:49 +0000
(09:48 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 2 Aug 2012 07:48:49 +0000
(09:48 +0200)
Mostly a preparation for the next patch.
In principle this fixes an infinite loop if max_discard_sectors < granularity,
but that really shouldn't happen.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Tested-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
No differences found