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
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 269 bytes |
autoprobe.c | -rw-r--r-- | 4.7 KB |
chip.c | -rw-r--r-- | 18.0 KB |
devres.c | -rw-r--r-- | 2.6 KB |
handle.c | -rw-r--r-- | 12.6 KB |
internals.h | -rw-r--r-- | 2.8 KB |
manage.c | -rw-r--r-- | 28.7 KB |
migration.c | -rw-r--r-- | 1.5 KB |
numa_migrate.c | -rw-r--r-- | 2.8 KB |
pm.c | -rw-r--r-- | 1.8 KB |
proc.c | -rw-r--r-- | 7.7 KB |
resend.c | -rw-r--r-- | 2.0 KB |
spurious.c | -rw-r--r-- | 6.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...