um: hostfs: Fix writeback
authorRichard Weinberger <richard@nod.at>
Sun, 4 Aug 2013 17:23:51 +0000 (17:23 +0000)
committerRichard Weinberger <richard@nod.at>
Sat, 7 Sep 2013 08:38:29 +0000 (10:38 +0200)
commit65984ff9d2179a97e5a11aaef1e86fdb276cfad5
treeee545bde7f3924570faa3fdd57b89c59ef13b7f9
parent6e4664525b1db28f8c4e1130957f70a94c19213e
um: hostfs: Fix writeback

We have to implement ->release() and trigger writeback from it.
Otherwise we might lose dirty pages at munmap().

Signed-off-by: Richard Weinberger <richard@nod.at>
fs/hostfs/hostfs_kern.c