projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffb959b
)
ecryptfs: convert to file_write_and_wait in ->fsync
author
Jeff Layton
<jlayton@redhat.com>
Wed, 2 Aug 2017 14:14:21 +0000
(10:14 -0400)
committer
Jeff Layton
<jlayton@redhat.com>
Thu, 3 Aug 2017 18:20:22 +0000
(14:20 -0400)
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 <jlayton@redhat.com>
fs/ecryptfs/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ecryptfs/file.c
b/fs/ecryptfs/file.c
index ca4e83750214adc2b0ea77358937c167d02d6ba7..c74ed3ca3372f8b8e91ed9da35de617c7b25ce08 100644
(file)
--- a/
fs/ecryptfs/file.c
+++ b/
fs/ecryptfs/file.c
@@
-328,7
+328,7
@@
ecryptfs_fsync(struct file *file, loff_t start, loff_t end, int datasync)
{
int rc;
- rc = file
map_write_and_wait(file->f_mapping
);
+ rc = file
_write_and_wait(file
);
if (rc)
return rc;