Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 376792
b: refs/heads/master
c: bc5abcf
h: refs/heads/master
v: v3
  • Loading branch information
Tyler Hicks committed Jun 5, 2013
1 parent 85eeab1 commit 75e0d42
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 24a923e4e9a296a8f8ff852109d423ba07616cc4
refs/heads/master: bc5abcf7e411b889f73ea2a90439071a0f451011
7 changes: 6 additions & 1 deletion trunk/fs/ecryptfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,12 @@ static int ecryptfs_release(struct inode *inode, struct file *file)
static int
ecryptfs_fsync(struct file *file, loff_t start, loff_t end, int datasync)
{
filemap_write_and_wait(file->f_mapping);
int rc;

rc = filemap_write_and_wait(file->f_mapping);
if (rc)
return rc;

return vfs_fsync(ecryptfs_file_to_lower(file), datasync);
}

Expand Down

0 comments on commit 75e0d42

Please sign in to comment.