Btrfs: fix a bug when opening seed devices
authorIlya Dryomov <idryomov@gmail.com>
Wed, 12 Oct 2011 21:20:43 +0000 (00:20 +0300)
committerDavid Sterba <dsterba@suse.cz>
Thu, 20 Oct 2011 16:20:36 +0000 (18:20 +0200)
commit5f524444c351e145a5f7e28253594688a421bfe8
tree1a29d2ffe81648da1328a33c3669a2a7eeedba39
parent068132bad1de70f85f5f6d12c36d64f8f7848d92
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: Ilya Dryomov <idryomov@gmail.com>
fs/btrfs/super.c