https://github.com/torvalds/linux
Revision fb01aa85b8b29c1a4e1f4a28ea54175de6bf7559 authored by Ilya Dryomov on 15 February 2011, 18:12:57 UTC, committed by Chris Mason on 16 February 2011, 21:34:00 UTC
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 <idryomov@gmail.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
1 parent 9b3517e
History
Tip revision: fb01aa85b8b29c1a4e1f4a28ea54175de6bf7559 authored by Ilya Dryomov on 15 February 2011, 18:12:57 UTC
Btrfs: set FMODE_EXCL in btrfs_device->mode
Tip revision: fb01aa8
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 175.1 KB
Makefile -rw-r--r-- 50.5 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top