]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: set fs_devices->seed directly
authorAnand Jain <anand.jain@oracle.com>
Thu, 9 Nov 2017 15:45:23 +0000 (23:45 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Jan 2018 15:08:13 +0000 (16:08 +0100)
commitee095c6afcc4a082b3abfbbbbf23d13743b6f52f
treee46ee2e754a09e933b77e55228788e5f9b7d7c6f
parent47751e62514751c343203981872ee161720e8efd
btrfs: set fs_devices->seed directly

This is in preparation to move a section of code in __btrfs_open_devices()
into a new function so that it can be reused. As we set seeding if any of
the device is having SB flag BTRFS_SUPER_FLAG_SEEDING, so do it in the
device list loop itself. No functional changes.

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