Skip to content
Commit 49024388 authored by Filipe Manana's avatar Filipe Manana Committed by David Sterba
Browse files

btrfs: use BTRFS_DIR_START_INDEX at btrfs_create_new_inode()



We are still using the magic value of 2 at btrfs_create_new_inode(), but
there's now a constant for that, named BTRFS_DIR_START_INDEX, which was
introduced in commit 528ee697 ("btrfs: put initial index value of a
directory in a constant"). So change that to use the constant.

Reviewed-by: default avatarNikolay Borisov <nborisov@suse.com>
Signed-off-by: default avatarFilipe Manana <fdmanana@suse.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent c0111c44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment