]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: document uuid_mutex uasge in read_chunk_tree
authorAnand Jain <anand.jain@oracle.com>
Thu, 12 Apr 2018 02:29:32 +0000 (10:29 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:23:14 +0000 (18:23 +0200)
commitfa7e2020e8e7d10412e68d052a480de674d1a614
tree260dcd8c0c37507536b947a29822367388358da6
parent3fde0a134d4a1ea95ab680c84bc842b1b374d296
btrfs: document uuid_mutex uasge in read_chunk_tree

read_chunk_tree() calls read_one_dev(), but for seed device we have
to search the fs_uuids list, so we need the uuid_mutex. Add a comment
comment, so that we can improve this part.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c