mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
Btrfs: set FMODE_EXCL in btrfs_device->mode
This fixes a bug introduced ind4d77629, where the device added online (and therefore initialized via btrfs_init_new_device()) would be left with the positive bdev->bd_holders after unmount. Sinced4d77629we no longer OR FMODE_EXCL explicitly on blkdev_put(), set it in btrfs_device->mode. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
9b3517e913
commit
fb01aa85b8
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue