summaryrefslogtreecommitdiff
path: root/sound/isa/gus/gus_instr.c
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2012-07-30 21:42:00 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-31 00:25:19 (GMT)
commit6ed6a722f9abac25b0549e7507a2b745ede4475c (patch)
treee4abd14e4d767d37010df501e0941fd826590522 /sound/isa/gus/gus_instr.c
parent8dccaf0607b3e047680952d0baf4da0486fbbcc1 (diff)
downloadlinux-fsl-qoriq-6ed6a722f9abac25b0549e7507a2b745ede4475c.tar.xz
minixfs: fix block limit check
On minix2 and minix3 usually max_size is 7fffffff and the check in question prohibits creation of last block spanning right before 7fffffff, due to downward rounding during the division. Fix it by using multiplication instead. [akpm@linux-foundation.org: fix up code layout, use local `sb'] Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/isa/gus/gus_instr.c')
0 files changed, 0 insertions, 0 deletions