projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86d2e4b
)
btrfs-progs: use symbolic name for first inode number when searching
author
David Sterba
<dsterba@suse.com>
Mon, 31 Oct 2016 10:01:23 +0000
(11:01 +0100)
committer
David Sterba
<dsterba@suse.com>
Wed, 14 Dec 2016 14:06:34 +0000
(15:06 +0100)
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-check.c
patch
|
blob
|
history
diff --git
a/cmds-check.c
b/cmds-check.c
index
26ddef3
..
905fe53
100644
(file)
--- 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;