Skip to content
Commit 5f524444 authored by Ilya Dryomov's avatar Ilya Dryomov Committed by David Sterba
Browse files

Btrfs: fix a bug when opening seed devices



Initialize fs_info->bdev_holder a bit earlier to be able to pass a
correct holder id to blkdev_get() when opening seed devices with O_EXCL.

Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent 068132ba
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment