|
@@ -1133,7 +1133,7 @@ int btrfs_sync_file(struct file *file, struct dentry *dentry, int datasync)
|
|
}
|
|
}
|
|
mutex_lock(&dentry->d_inode->i_mutex);
|
|
mutex_lock(&dentry->d_inode->i_mutex);
|
|
out:
|
|
out:
|
|
- return ret > 0 ? EIO : ret;
|
|
|
|
|
|
+ return ret > 0 ? -EIO : ret;
|
|
}
|
|
}
|
|
|
|
|
|
static const struct vm_operations_struct btrfs_file_vm_ops = {
|
|
static const struct vm_operations_struct btrfs_file_vm_ops = {
|