]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: correct wrong comment about magic number of index_cnt
authorSu Yue <suy.fnst@cn.fujitsu.com>
Fri, 12 Jan 2018 03:08:02 +0000 (11:08 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Jan 2018 15:08:21 +0000 (16:08 +0100)
commite72a06e5254163af1cd27c816d1661159d6f6c2a
tree0a95d206640cd2faf1ae53f9f0fcba838d2d4d32
parenteded1d87b1ece41e7120c8b2060909544ad951bf
btrfs: correct wrong comment about magic number of index_cnt

There is no function named btrfs_get_inode_index_count.
Explanation for magic number index_cnt=2 in btrfs_new_inode() is
actually located in btrfs_set_inode_index_count().

So replace 'btrfs_get_inode_index_count' in the comment by
'btrfs_set_inode_index_count'.

Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c