diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index 1f71695cb0a80288e4a3256bcd9167dc03efb15a..1124d236291d75b12a2f2fae5a3060f6efbc0e67 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c @@ -2910,7 +2910,7 @@ int btrfs_search_slot(struct btrfs_trans_handle *trans, struct btrfs_root *root, } if (!p->search_for_split) unlock_up(p, level, lowest_unlock, - min_write_lock_level, &write_lock_level); + min_write_lock_level, NULL); goto done; } }