NFS: Fix use of cancel_delayed_work_sync in nfs_release_automount_timer
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 27 Aug 2007 13:14:56 +0000 (09:14 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 1 Sep 2007 14:14:36 +0000 (10:14 -0400)
commit560aef74503e928f44ddbf481b8b02d9cef37dbf
tree739c3f1d806d2f34b5573a5ba80d25765e38c887
parent40ffbfad6bb79a99cc7627bdaca0ee22dec526f6
NFS: Fix use of cancel_delayed_work_sync in nfs_release_automount_timer

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