diff options
author | Chris Mason <clm@fb.com> | 2016-05-17 17:24:44 -0400 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2016-05-17 17:24:44 -0400 |
commit | a88336d13c66fc171f336c6332fcb67339894e08 (patch) | |
tree | 595935ba3afc91dce9be83ca65932f3cf1379436 /fs/btrfs/ctree.c | |
parent | 02da2d72174c61988eb4456b53f405e3ebdebce4 (diff) | |
parent | 680834ca0ad4e9827048d4bda1e38db69c3dd1e4 (diff) |
Merge branch 'for-chris-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux into for-linus-4.7
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r-- | fs/btrfs/ctree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index ec7928a27aaa..decd0a3f5d61 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c | |||
@@ -1011,7 +1011,7 @@ static noinline int update_ref_for_cow(struct btrfs_trans_handle *trans, | |||
1011 | return ret; | 1011 | return ret; |
1012 | if (refs == 0) { | 1012 | if (refs == 0) { |
1013 | ret = -EROFS; | 1013 | ret = -EROFS; |
1014 | btrfs_std_error(root->fs_info, ret, NULL); | 1014 | btrfs_handle_fs_error(root->fs_info, ret, NULL); |
1015 | return ret; | 1015 | return ret; |
1016 | } | 1016 | } |
1017 | } else { | 1017 | } else { |
@@ -1928,7 +1928,7 @@ static noinline int balance_level(struct btrfs_trans_handle *trans, | |||
1928 | child = read_node_slot(root, mid, 0); | 1928 | child = read_node_slot(root, mid, 0); |
1929 | if (!child) { | 1929 | if (!child) { |
1930 | ret = -EROFS; | 1930 | ret = -EROFS; |
1931 | btrfs_std_error(root->fs_info, ret, NULL); | 1931 | btrfs_handle_fs_error(root->fs_info, ret, NULL); |
1932 | goto enospc; | 1932 | goto enospc; |
1933 | } | 1933 | } |
1934 | 1934 | ||
@@ -2031,7 +2031,7 @@ static noinline int balance_level(struct btrfs_trans_handle *trans, | |||
2031 | */ | 2031 | */ |
2032 | if (!left) { | 2032 | if (!left) { |
2033 | ret = -EROFS; | 2033 | ret = -EROFS; |
2034 | btrfs_std_error(root->fs_info, ret, NULL); | 2034 | btrfs_handle_fs_error(root->fs_info, ret, NULL); |
2035 | goto enospc; | 2035 | goto enospc; |
2036 | } | 2036 | } |
2037 | wret = balance_node_right(trans, root, mid, left); | 2037 | wret = balance_node_right(trans, root, mid, left); |