aboutsummaryrefslogtreecommitdiff
path: root/arch/um/kernel/load_file.c
diff options
context:
space:
mode:
authorSjoerd Simons <[email protected]>2021-11-05 09:10:51 +0100
committerRichard Weinberger <[email protected]>2021-12-21 21:44:27 +0100
commitce72750f04d68a45ef971c3547fe2d6f9cd4756e (patch)
tree3ba3c76130e5f64d6280a394682a1ff69099e4ba /arch/um/kernel/load_file.c
parent9b0da3f22307af693be80f5d3a89dc4c7f360a85 (diff)
hostfs: Fix writeback of dirty pages
Hostfs was not setting up the backing device information, which means it uses the noop bdi. The noop bdi does not have the writeback capability enabled, which in turns means dirty pages never got written back to storage. In other words programs using mmap to write to files on hostfs never actually got their data written out... Fix this by simply setting up the bdi with default settings as all the required code for writeback is already in place. Signed-off-by: Sjoerd Simons <[email protected]> Reviewed-by: Christopher Obbard <[email protected]> Tested-by: Ritesh Raj Sarraf <[email protected]> Acked-By: Anton Ivanov <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'arch/um/kernel/load_file.c')
0 files changed, 0 insertions, 0 deletions