diff options
author | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | 2011-04-22 20:08:00 +0200 |
---|---|---|
committer | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | 2011-04-26 01:49:46 +0200 |
commit | 5be79de2e1ffa19d871a494697cf76cddee93384 (patch) | |
tree | 4b6a9e060ba1d33f3573f0ea4b04f950e8027c79 /arch/um/kernel/irq.c | |
parent | eCryptfs: Handle failed metadata read in lookup (diff) | |
download | linux-5be79de2e1ffa19d871a494697cf76cddee93384.tar.xz linux-5be79de2e1ffa19d871a494697cf76cddee93384.zip |
eCryptfs: Flush dirty pages in setattr
After 57db4e8d73ef2b5e94a3f412108dff2576670a8a changed eCryptfs to
write-back caching, eCryptfs page writeback updates the lower inode
times due to the use of vfs_write() on the lower file.
To preserve inode metadata changes, such as 'cp -p' does with
utimensat(), we need to flush all dirty pages early in
ecryptfs_setattr() so that the user-updated lower inode metadata isn't
clobbered later in writeback.
https://bugzilla.kernel.org/show_bug.cgi?id=33372
Reported-by: Rocko <rockorequin@hotmail.com>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Diffstat (limited to 'arch/um/kernel/irq.c')
0 files changed, 0 insertions, 0 deletions