projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3daa020
)
nfsd: use to_delayed_work
author
Geliang Tang
<geliangtang@163.com>
Fri, 1 Jan 2016 14:06:28 +0000
(22:06 +0800)
committer
J. Bruce Fields
<bfields@redhat.com>
Thu, 7 Jan 2016 15:10:49 +0000
(10:10 -0500)
Use to_delayed_work() instead of open-coding it.
Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfsd/nfs4state.c
b/fs/nfsd/nfs4state.c
index 113ecbfac25ceed76d9533631290c79a02703fbe..086a81ce34fcf13384c97b30dc01a82eb10044f9 100644
(file)
--- a/
fs/nfsd/nfs4state.c
+++ b/
fs/nfsd/nfs4state.c
@@
-4571,8
+4571,7
@@
static void
laundromat_main(struct work_struct *laundry)
{
time_t t;
- struct delayed_work *dwork = container_of(laundry, struct delayed_work,
- work);
+ struct delayed_work *dwork = to_delayed_work(laundry);
struct nfsd_net *nn = container_of(dwork, struct nfsd_net,
laundromat_work);