|
@@ -94,8 +94,7 @@ static unsigned long get_lockd_grace_period(void)
|
|
|
|
|
|
static void grace_ender(struct work_struct *grace)
|
|
|
{
|
|
|
- struct delayed_work *dwork = container_of(grace, struct delayed_work,
|
|
|
- work);
|
|
|
+ struct delayed_work *dwork = to_delayed_work(grace);
|
|
|
struct lockd_net *ln = container_of(dwork, struct lockd_net,
|
|
|
grace_period_end);
|
|
|
|