summaryrefslogtreecommitdiffstats
path: root/kernel/cred.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-08-02 09:48:49 +0200
committerJens Axboe <axboe@kernel.dk>2012-08-02 09:48:49 +0200
commitf6ff53d3611b564661896be23369b54d84941a0e (patch)
tree9a6128ce4f3f86e327d088c42e4ddd7002bb410b /kernel/cred.c
parent1a9b4993b70fb1884716902774dc9025b457760d (diff)
downloadlinux-f6ff53d3611b564661896be23369b54d84941a0e.tar.gz
linux-f6ff53d3611b564661896be23369b54d84941a0e.tar.bz2
linux-f6ff53d3611b564661896be23369b54d84941a0e.zip
block: reorganize rounding of max_discard_sectors
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>
Diffstat (limited to 'kernel/cred.c')
0 files changed, 0 insertions, 0 deletions