X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Fnfs%2Fnfs4renewd.c;h=823298561c0a9a7904695ce554899165d26f7403;hb=d02598721706ab62a574823479b1f6c26c8980d2;hp=7b6df1852e7590043540cf9c65d3dca963826b20;hpb=5dd3177ae5012c1e2ad7a9ffdbd0e0d0de2f60e4;p=powerpc.git diff --git a/fs/nfs/nfs4renewd.c b/fs/nfs/nfs4renewd.c index 7b6df1852e..823298561c 100644 --- a/fs/nfs/nfs4renewd.c +++ b/fs/nfs/nfs4renewd.c @@ -59,9 +59,10 @@ #define NFSDBG_FACILITY NFSDBG_PROC void -nfs4_renew_state(void *data) +nfs4_renew_state(struct work_struct *work) { - struct nfs_client *clp = (struct nfs_client *)data; + struct nfs_client *clp = + container_of(work, struct nfs_client, cl_renewd.work); struct rpc_cred *cred; long lease, timeout; unsigned long last, now;