]> git.baikalelectronics.ru Git - kernel.git/commit
dm io: delay dec_count
authorHeinz Mauelshagen <hjm@redhat.com>
Wed, 9 May 2007 09:33:00 +0000 (02:33 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:47 +0000 (12:30 -0700)
commit2e9f0ab0f2bad1dfed2ab5ae0c26560b36315b8f
tree29d82a62375d7a6394ba39e11926a695e6691de0
parenta31f4146fcc79946178252af6425379f7f3dc094
dm io: delay dec_count

Delay decrementing the 'struct io' reference count until after the bio has
been freed so that a bio destructor function may reference it.  Required by a
later patch.

Signed-off-by: Heinz Mauelshagen <hjm@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Cc: Milan Broz <mbroz@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/dm-io.c