From: Ilya Dryomov Date: Tue, 15 Feb 2011 18:12:57 +0000 (+0000) Subject: Btrfs: set FMODE_EXCL in btrfs_device->mode X-Git-Tag: v2.6.38-rc7~30^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb01aa85b8b29c1a4e1f4a28ea54175de6bf7559;p=pandora-kernel.git Btrfs: set FMODE_EXCL in btrfs_device->mode This fixes a bug introduced in d4d77629, where the device added online (and therefore initialized via btrfs_init_new_device()) would be left with the positive bdev->bd_holders after unmount. Since d4d77629 we no longer OR FMODE_EXCL explicitly on blkdev_put(), set it in btrfs_device->mode. Signed-off-by: Ilya Dryomov Signed-off-by: Chris Mason --- Reading git-diff-tree failed