Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'ecryptfs-3.10-rc5-msync' of git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs

Pull ecryptfs fixes from Tyler Hicks:
- Fixes how eCryptfs handles msync to sync both the upper and lower
file
- A couple of MAINTAINERS updates

* tag 'ecryptfs-3.10-rc5-msync' of git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs:
eCryptfs: Check return of filemap_write_and_wait during fsync
Update eCryptFS maintainers
ecryptfs: fixed msync to flush data

+7 -1
+1 -1
MAINTAINERS
··· 2890 2890 2891 2891 ECRYPT FILE SYSTEM 2892 2892 M: Tyler Hicks <tyhicks@canonical.com> 2893 - M: Dustin Kirkland <dustin.kirkland@gazzang.com> 2894 2893 L: ecryptfs@vger.kernel.org 2894 + W: http://ecryptfs.org 2895 2895 W: https://launchpad.net/ecryptfs 2896 2896 S: Supported 2897 2897 F: Documentation/filesystems/ecryptfs.txt
+6
fs/ecryptfs/file.c
··· 295 295 static int 296 296 ecryptfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) 297 297 { 298 + int rc; 299 + 300 + rc = filemap_write_and_wait(file->f_mapping); 301 + if (rc) 302 + return rc; 303 + 298 304 return vfs_fsync(ecryptfs_file_to_lower(file), datasync); 299 305 } 300 306