diff options
author | Tahsin Erdogan <tahsin@google.com> | 2016-02-16 13:34:39 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-03 06:23:21 +0200 |
commit | 9bda5e6b1819daf09fafb66c2e9d4f0625ac8ad4 (patch) | |
tree | d8eb0eb1ffa2c5f6f9602c54b0d43cd87541a150 /fs/char_dev.c | |
parent | cb8251f8d66785fbd8cc8f3ffc38bafdd5017272 (diff) | |
download | linux-stable-9bda5e6b1819daf09fafb66c2e9d4f0625ac8ad4.tar.gz linux-stable-9bda5e6b1819daf09fafb66c2e9d4f0625ac8ad4.tar.bz2 linux-stable-9bda5e6b1819daf09fafb66c2e9d4f0625ac8ad4.zip |
writeback: initialize inode members that track writeback history
[ Upstream commit 3d65ae4634ed8350aee98a4e6f4e41fe40c7d282 ]
inode struct members that track cgroup writeback information
should be reinitialized when inode gets allocated from
kmem_cache. Otherwise, their values remain and get used by the
new inode.
Signed-off-by: Tahsin Erdogan <tahsin@google.com>
Acked-by: Tejun Heo <tj@kernel.org>
Fixes: d10c80955265 ("writeback: implement foreign cgroup inode bdi_writeback switching")
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/char_dev.c')
0 files changed, 0 insertions, 0 deletions