Btrfs: return immediately if tree log mod is not necessary
[linux.git] / fs / btrfs / ctree.c
index a57507aa67026433a6c2ac0e1bef9d148198e88a..59664f6cbc4e9830ea0b01c142a872656286cf94 100644 (file)
@@ -771,7 +771,7 @@ tree_mod_log_set_node_key(struct btrfs_fs_info *fs_info,
 {
        int ret;
 
-       ret = __tree_mod_log_insert_key(fs_info, eb, slot,
+       ret = tree_mod_log_insert_key(fs_info, eb, slot,
                                        MOD_LOG_KEY_REPLACE,
                                        atomic ? GFP_ATOMIC : GFP_NOFS);
        BUG_ON(ret < 0);