diff options
| author | Linus Torvalds <torvalds@athlon.transmeta.com> | 2002-02-04 23:59:27 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@athlon.transmeta.com> | 2002-02-04 23:59:27 -0800 |
| commit | 25aa595a676f130148eba073cdd5a8d57e9d238f (patch) | |
| tree | dc7925c1ea7bd0f65d483dd024e6cd7c4215dea7 /fs/block_dev.c | |
| parent | 6533333c8946e70120cc9d7fcad01e0f748d7863 (diff) | |
v2.5.1.2 -> v2.5.1.3
- Christoph Hellwig: scsi_register_module cleanup
- Mikael Pettersson: apic.c LVTERR fixes
- Russell King: ARM update (including bio update for icside)
- Jens Axboe: more bio updates
- Al Viro: make ready to switch bread away from kdev_t..
- Davide Libenzi: scheduler cleanups
- Anders Gustafsson: LVM fixes for bio
- Richard Gooch: devfs update
Diffstat (limited to 'fs/block_dev.c')
| -rw-r--r-- | fs/block_dev.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c index a6b363a544ef..b548b2e1c194 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -519,7 +519,10 @@ int check_disk_change(kdev_t dev) de = devfs_find_handle (NULL, NULL, i, MINOR (dev), DEVFS_SPECIAL_BLK, 0); - if (de) bdops = devfs_get_ops (de); + if (de) { + bdops = devfs_get_ops (de); + devfs_put_ops (de); /* We're running in owner module */ + } } if (bdops == NULL) return 0; |
