Commit 014e4ac4 authored by Roel Kluin's avatar Roel Kluin Committed by Chris Mason
Browse files

Btrfs: make error return negative in btrfs_sync_file()

It appears the error return should be negative
Signed-off-by: default avatarRoel Kluin <>
Signed-off-by: default avatarChris Mason <>
parent f044ba78
......@@ -1133,7 +1133,7 @@ int btrfs_sync_file(struct file *file, struct dentry *dentry, int datasync)
return ret > 0 ? EIO : ret;
return ret > 0 ? -EIO : ret;
static const struct vm_operations_struct btrfs_file_vm_ops = {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment