From 555743075b5cc924021dd1e1a4a4697ee91441d8 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Tue, 13 Sep 2016 11:58:21 +0200 Subject: btrfs-progs: cleanup, kill trivial btrfs_set_key_type helper Signed-off-by: David Sterba --- quick-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quick-test.c') diff --git a/quick-test.c b/quick-test.c index ffde85d9..f99ecc38 100644 --- a/quick-test.c +++ b/quick-test.c @@ -57,7 +57,7 @@ int main(int ac, char **av) { } trans = btrfs_start_transaction(root, 1); srand(55); - btrfs_set_key_type(&ins, BTRFS_STRING_ITEM_KEY); + ins.type = BTRFS_STRING_ITEM_KEY; for (i = 0; i < run_size; i++) { num = next_key(i, max_key); // num = i; -- cgit v1.2.3