[PATCH] eCryptfs: Check return of filemap_write_and_wait during fsync

2013-06-05 Thread Tyler Hicks
Error out of ecryptfs_fsync() if filemap_write_and_wait() fails. Signed-off-by: Tyler Hicks Cc: Paul Taysom Cc: Olof Johansson --- After giving Paul's patch one more look, I noticed that we were ignoring filemap_write_and_wait()'s return value. I plan to push this patch along with Paul's

[PATCH] eCryptfs: Check return of filemap_write_and_wait during fsync

2013-06-05 Thread Tyler Hicks
Error out of ecryptfs_fsync() if filemap_write_and_wait() fails. Signed-off-by: Tyler Hicks tyhi...@canonical.com Cc: Paul Taysom tay...@chromium.org Cc: Olof Johansson ol...@chromium.org --- After giving Paul's patch one more look, I noticed that we were ignoring filemap_write_and_wait()'s