aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorTyler Hicks <[email protected]>2011-11-21 23:31:29 +0000
committerTyler Hicks <[email protected]>2011-11-23 21:40:09 +0000
commit32001d6fe9ac6b0423e674a3093aa56740849f3b (patch)
tree97517bbe44089da7d33a6cc715f835e2adc9ddea /net/unix/af_unix.c
parenteCryptfs: Prevent file create race condition (diff)
downloadkernel-32001d6fe9ac6b0423e674a3093aa56740849f3b.tar.gz
kernel-32001d6fe9ac6b0423e674a3093aa56740849f3b.zip
eCryptfs: Flush file in vma close
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 <[email protected]> Cc: [email protected] [2.6.39+]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions