Skip to content

Commit

Permalink
Merge git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm
Browse files Browse the repository at this point in the history
* git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm:
  dm snapshot: extend exception store functions
  dm snapshot: split out exception store implementations
  dm snapshot: rename struct exception_store
  dm snapshot: separate out exception store interface
  dm mpath: move trigger_event to system workqueue
  dm: add name and uuid to sysfs
  dm table: rework reference counting
  dm: support barriers on simple devices
  dm request: extend target interface
  dm request: add caches
  dm ioctl: allow dm_copy_name_and_uuid to return only one field
  dm log: ensure log bitmap fits on log device
  dm log: move region_size validation
  dm log: avoid reinitialising io_req on every operation
  dm: consolidate target deregistration error handling
  dm raid1: fix error count
  dm log: fix dm_io_client leak on error paths
  dm snapshot: change yield to msleep
  dm table: drop reference at unbind
  • Loading branch information
torvalds committed Jan 6, 2009
2 parents 8e128ce + a159c1a commit 238c6d5
Show file tree
Hide file tree
Showing 22 changed files with 1,319 additions and 983 deletions.
5 changes: 3 additions & 2 deletions drivers/md/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
#

dm-mod-objs := dm.o dm-table.o dm-target.o dm-linear.o dm-stripe.o \
dm-ioctl.o dm-io.o dm-kcopyd.o
dm-ioctl.o dm-io.o dm-kcopyd.o dm-sysfs.o
dm-multipath-objs := dm-path-selector.o dm-mpath.o
dm-snapshot-objs := dm-snap.o dm-exception-store.o
dm-snapshot-objs := dm-snap.o dm-exception-store.o dm-snap-transient.o \
dm-snap-persistent.o
dm-mirror-objs := dm-raid1.o
md-mod-objs := md.o bitmap.o
raid456-objs := raid5.o raid6algos.o raid6recov.o raid6tables.o \
Expand Down
6 changes: 1 addition & 5 deletions drivers/md/dm-crypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1322,11 +1322,7 @@ static int __init dm_crypt_init(void)

static void __exit dm_crypt_exit(void)
{
int r = dm_unregister_target(&crypt_target);

if (r < 0)
DMERR("unregister failed %d", r);

dm_unregister_target(&crypt_target);
kmem_cache_destroy(_crypt_io_pool);
}

Expand Down
6 changes: 1 addition & 5 deletions drivers/md/dm-delay.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,11 +364,7 @@ static int __init dm_delay_init(void)

static void __exit dm_delay_exit(void)
{
int r = dm_unregister_target(&delay_target);

if (r < 0)
DMERR("unregister failed %d", r);

dm_unregister_target(&delay_target);
kmem_cache_destroy(delayed_cache);
destroy_workqueue(kdelayd_wq);
}
Expand Down
Loading

0 comments on commit 238c6d5

Please sign in to comment.