projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40ffbfa
)
NFS: Fix use of cancel_delayed_work_sync in nfs_release_automount_timer
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 27 Aug 2007 13:14:56 +0000
(09:14 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sat, 1 Sep 2007 14:14:36 +0000
(10:14 -0400)
Doh! We can't use cancel_delayed_work_sync because we may have been called
from an unmount that was being performed by nfs_automount_task.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/namespace.c
patch
|
blob
|
history
diff --git
a/fs/nfs/namespace.c
b/fs/nfs/namespace.c
index aea76d0e5fbdf5d9c24dafd89caa94d691277ee4..acfc56f9edc04c53b25efaffeb80eb0ba9d887c5 100644
(file)
--- a/
fs/nfs/namespace.c
+++ b/
fs/nfs/namespace.c
@@
-176,7
+176,7
@@
static void nfs_expire_automounts(struct work_struct *work)
void nfs_release_automount_timer(void)
{
if (list_empty(&nfs_automount_list))
- cancel_delayed_work
_sync
(&nfs_automount_task);
+ cancel_delayed_work(&nfs_automount_task);
}
/*