From: Tejun Heo Date: Fri, 7 Mar 2014 15:24:48 +0000 (-0500) Subject: floppy: don't use PREPARE_[DELAYED_]WORK X-Git-Tag: v3.15-rc1~162^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75ddb38f0901d12831264cd74224598e4d8f528b;p=pandora-kernel.git floppy: don't use PREPARE_[DELAYED_]WORK PREPARE_[DELAYED_]WORK() are being phased out. They have few users and a nasty surprise in terms of reentrancy guarantee as workqueue considers work items to be different if they don't have the same work function. floppy has been multiplexing floppy_work and fd_timer with multiple work functions. Introduce floppy_work_workfn() and fd_timer_workfn() which invoke floppy_work_fn and fd_timer_fn respectively and always use the two functions as the work functions and update the users to set floppy_work_fn and fd_timer_fn instead of overriding work functions using PREPARE_[DELAYED_]WORK(). It would probably be best to route this with other related updates through the workqueue tree. Lightly tested using qemu. Signed-off-by: Tejun Heo Acked-by: Jiri Kosina --- Reading git-diff-tree failed