| Index: fs/ecryptfs/file.c
|
| diff --git a/fs/ecryptfs/file.c b/fs/ecryptfs/file.c
|
| index 2ab7e2501061d89d7bbfc6962fe5bfa434f0718d..4e25328986ac7b6718df18eace61eea75693a190 100644
|
| --- a/fs/ecryptfs/file.c
|
| +++ b/fs/ecryptfs/file.c
|
| @@ -275,16 +275,9 @@ static int ecryptfs_release(struct inode *inode, struct file *file)
|
| static int
|
| ecryptfs_fsync(struct file *file, struct dentry *dentry, int datasync)
|
| {
|
| - int rc = 0;
|
| -
|
| - rc = simple_fsync(file, dentry, datasync);
|
| - if (rc)
|
| - goto out;
|
| - rc = vfs_fsync(ecryptfs_file_to_lower(file),
|
| - ecryptfs_dentry_to_lower(dentry),
|
| - datasync);
|
| -out:
|
| - return rc;
|
| + return vfs_fsync(ecryptfs_file_to_lower(file),
|
| + ecryptfs_dentry_to_lower(dentry),
|
| + datasync);
|
| }
|
|
|
| static int ecryptfs_fasync(int fd, struct file *file, int flag)
|
|
|