Message ID | 20091104190433.036021313@suse.com (mailing list archive) |
---|---|
State | Deferred |
Headers | show |
--- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c @@ -1223,7 +1223,7 @@ int btrfs_sync_file(struct file *file, s } mutex_lock(&dentry->d_inode->i_mutex); out: - return ret > 0 ? EIO : ret; + return ret > 0 ? -EIO : ret; } static struct vm_operations_struct btrfs_file_vm_ops = {