]> git.baikalelectronics.ru Git - kernel.git/commit
dm snapshot: persistent annotate work_queue as on stack
authorMike Snitzer <snitzer@redhat.com>
Tue, 16 Feb 2010 18:42:51 +0000 (18:42 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 16 Feb 2010 18:42:51 +0000 (18:42 +0000)
commit41110bad06fef2d77005a8fcd35f828551820a69
tree33c39276f5b185c9ec9fefa296f344675241f98a
parent437187d10c4d827c3b2159e0d81f3acd36b15524
dm snapshot: persistent annotate work_queue as on stack

chunk_io() declares its 'struct mdata_req' on the stack and then
initializes its 'struct work_struct' member.  Annotate the
initialization of this workqueue with INIT_WORK_ON_STACK to suppress a
debugobjects warning seen when CONFIG_DEBUG_OBJECTS_WORK is enabled.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-snap-persistent.c