aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r--fs/btrfs/ctree.c6
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);