diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-05 07:23:03 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-05 07:23:03 -0800 |
commit | adbfbcd12af3d183957622a99ca009b665639b81 (patch) | |
tree | 830e5cc6a0dbd5cb590b8484c4234bd65073d1d7 /fs/btrfs/file.c | |
parent | fc76be434d90bcd57a0ea6b93a2e66a3fec4b664 (diff) | |
parent | 23b5c50945f2294add0137799400329c0ebba290 (diff) | |
download | blackbird-obmc-linux-adbfbcd12af3d183957622a99ca009b665639b81.tar.gz blackbird-obmc-linux-adbfbcd12af3d183957622a99ca009b665639b81.zip |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable
* git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable:
Btrfs: apply updated fallocate i_size fix
Btrfs: do not try and lookup the file extent when finishing ordered io
Btrfs: Fix oopsen when dropping empty tree.
Btrfs: remove BUG_ON() due to mounting bad filesystem
Btrfs: make error return negative in btrfs_sync_file()
Btrfs: fix race between allocate and release extent buffer.
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r-- | fs/btrfs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index c02033596f02..9d0809629967 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c @@ -1133,7 +1133,7 @@ int btrfs_sync_file(struct file *file, struct dentry *dentry, int datasync) } mutex_lock(&dentry->d_inode->i_mutex); out: - return ret > 0 ? EIO : ret; + return ret > 0 ? -EIO : ret; } static const struct vm_operations_struct btrfs_file_vm_ops = { |