summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/file.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2013-10-10 15:19:06 +0200
committerMiklos Szeredi <mszeredi@suse.cz>2014-04-02 15:38:49 +0200
commite7cc133c370f541fa16723ad7df24de375c26fce (patch)
treecf50cb96cb5e950478664b54581c022496b8b9bd /fs/hpfs/file.c
parentfuse: Trust kernel i_mtime only (diff)
downloadlinux-e7cc133c370f541fa16723ad7df24de375c26fce.tar.xz
linux-e7cc133c370f541fa16723ad7df24de375c26fce.zip
fuse: Flush files on wb close
Any write request requires a file handle to report to the userspace. Thus when we close a file (and free the fuse_file with this info) we have to flush all the outstanding dirty pages. filemap_write_and_wait() is enough because every page under fuse writeback is accounted in ff->count. This delays actual close until all fuse wb is completed. In case of "write cache" turned off, the flush is ensured by fuse_vma_close(). Signed-off-by: Maxim Patlasov <MPatlasov@parallels.com> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/hpfs/file.c')
0 files changed, 0 insertions, 0 deletions