summaryrefslogtreecommitdiff
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorTyler Hicks <tyhicks@canonical.com>2011-11-21 17:31:29 -0600
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-09 08:54:04 -0800
commit19c8acbc4a4d444d72d256a7541b040cebddc78b (patch)
tree2222ef02c49bfe41dcbb59b88c31120a23d38f92 /drivers/i2c/algos/i2c-algo-bit.c
parentd1d274cd1ce2eb979c66233a36a7a92abfc0f18f (diff)
downloadlwn-19c8acbc4a4d444d72d256a7541b040cebddc78b.tar.gz
lwn-19c8acbc4a4d444d72d256a7541b040cebddc78b.zip
eCryptfs: Flush file in vma close
commit 32001d6fe9ac6b0423e674a3093aa56740849f3b upstream. Dirty pages weren't being written back when an mmap'ed eCryptfs file was closed before the mapping was unmapped. Since f_ops->flush() is not called by the munmap() path, the lower file was simply being released. This patch flushes the eCryptfs file in the vm_ops->close() path. https://launchpad.net/bugs/870326 Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions