]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Btrfs: fix a bug when opening seed devices
authorIlya Dryomov <idryomov@gmail.com>
Wed, 12 Oct 2011 21:20:43 +0000 (00:20 +0300)
committerChris Mason <chris.mason@oracle.com>
Wed, 16 Nov 2011 02:20:44 +0000 (21:20 -0500)
commit65d38bcf97a845f2aaf9c45a36385e79e8b50593
treea78700cc28ba022e95d11f3c9a9898c137fdb0e2
parentd2e57e4ffd2c782fea7fb87b55bce8982d2c211a
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>
(cherry picked from commit 5f524444c351e145a5f7e28253594688a421bfe8)
fs/btrfs/super.c