ecryptfs: convert to file_write_and_wait in ->fsync
Subsystems (2)
PATCH 1/1 ecryptfs: convert to file_write_and_wait in ->fsync
From: Jeff Layton <[email protected]>
This change is mainly for documentation/completeness, as ecryptfs never calls mapping_set_error, and so will never return a previous writeback error.
Signed-off-by Jeff Layton <[email protected]>
--- fs/ecryptfs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ecryptfs/file.c +1 -1
@@ -328,7 +328,7 @@ ecryptfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) {int rc; - rc =filemap_write_and_wait (file->f_mapping); + rc =file_write_and_wait (file);if (rc)return rc;
Signature · 1 line
2.13.3