diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-04-09 10:41:34 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-04-09 10:41:34 -0700 |
commit | 839a3f765728cdca0057a12e2dc0bf669ac1c22e (patch) | |
tree | ce89a9ed9f2346ee2103313ccba2565639f14f92 /fs/btrfs/relocation.c | |
parent | 6759212640fda202d0da5ce2f75dd261f1b879cc (diff) | |
parent | 56f23fdbb600e6087db7b009775b95ce07cc3195 (diff) | |
download | linux-839a3f765728cdca0057a12e2dc0bf669ac1c22e.tar.gz linux-839a3f765728cdca0057a12e2dc0bf669ac1c22e.tar.bz2 linux-839a3f765728cdca0057a12e2dc0bf669ac1c22e.zip |
Merge branch 'for-linus-4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs
Pull btrfs fixes from Chris Mason:
"These are bug fixes, including a really old fsync bug, and a few trace
points to help us track down problems in the quota code"
* 'for-linus-4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs:
Btrfs: fix file/data loss caused by fsync after rename and new inode
btrfs: Reset IO error counters before start of device replacing
btrfs: Add qgroup tracing
Btrfs: don't use src fd for printk
btrfs: fallback to vmalloc in btrfs_compare_tree
btrfs: handle non-fatal errors in btrfs_qgroup_inherit()
btrfs: Output more info for enospc_debug mount option
Btrfs: fix invalid reference in replace_path
Btrfs: Improve FL_KEEP_SIZE handling in fallocate
Diffstat (limited to 'fs/btrfs/relocation.c')
-rw-r--r-- | fs/btrfs/relocation.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index 3c93968b539d..08ef890deca6 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c @@ -1850,6 +1850,7 @@ again: eb = read_tree_block(dest, old_bytenr, old_ptr_gen); if (IS_ERR(eb)) { ret = PTR_ERR(eb); + break; } else if (!extent_buffer_uptodate(eb)) { ret = -EIO; free_extent_buffer(eb); |