]> git.ipfire.org Git - people/ms/linux.git/commit
eCryptfs: Check return of filemap_write_and_wait during fsync
authorTyler Hicks <tyhicks@canonical.com>
Tue, 4 Jun 2013 17:24:56 +0000 (10:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Jun 2013 17:49:32 +0000 (10:49 -0700)
commit4dbfc6cccf119acb59d9cf8853a78890c81e21c5
tree47e30753dea8a9fe9e0981d28ff93c9bbe534c53
parentef6190a2ac96fa2156c5e1423d1ea84a1cdf1bda
eCryptfs: Check return of filemap_write_and_wait during fsync

commit bc5abcf7e411b889f73ea2a90439071a0f451011 upstream.

Error out of ecryptfs_fsync() if filemap_write_and_wait() fails.

Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Cc: Paul Taysom <taysom@chromium.org>
Cc: Olof Johansson <olofj@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ecryptfs/file.c