From f6f9cd0cb76f52febd4f6579a4fb176c4d501068 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Mon, 31 Oct 2016 11:01:23 +0100 Subject: [PATCH] btrfs-progs: use symbolic name for first inode number when searching Signed-off-by: David Sterba --- cmds-check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds-check.c b/cmds-check.c index 26ddef3a..905fe53c 100644 --- a/cmds-check.c +++ b/cmds-check.c @@ -4942,7 +4942,7 @@ static int check_fs_first_inode(struct btrfs_root *root, unsigned int ext_ref) path = btrfs_alloc_path(); if (!path) return -ENOMEM; - key.objectid = 256; + key.objectid = BTRFS_FIRST_FREE_OBJECTID; key.type = BTRFS_INODE_ITEM_KEY; key.offset = 0;