writeback: fix initial dirty limit
authorRabin Vincent <rabin.vincent@axis.com>
Thu, 6 Aug 2015 22:47:14 +0000 (15:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 7 Aug 2015 01:39:42 +0000 (04:39 +0300)
commita50fcb512d9539b5179b1e523641420339086995
treea172e8e881469c62463a245c0fd5fb57eb45079c
parent4491f7126063ef51081f5662bd4fcae31621a333
writeback: fix initial dirty limit

The initial value of global_wb_domain.dirty_limit set by
writeback_set_ratelimit() is zeroed out by the memset in
wb_domain_init().

Signed-off-by: Rabin Vincent <rabin.vincent@axis.com>
Acked-by: Tejun Heo <tj@kernel.org>
Cc: Jens Axboe <axboe@fb.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page-writeback.c