Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=560aef74503e928f44ddbf481b8b02d9cef37dbf Commit: 560aef74503e928f44ddbf481b8b02d9cef37dbf Parent: 40ffbfad6bb79a99cc7627bdaca0ee22dec526f6 Author: Trond Myklebust <[EMAIL PROTECTED]> AuthorDate: Mon Aug 27 09:14:56 2007 -0400 Committer: Trond Myklebust <[EMAIL PROTECTED]> CommitDate: Sat Sep 1 10:14:36 2007 -0400
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 <[EMAIL PROTECTED]> --- fs/nfs/namespace.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/nfs/namespace.c b/fs/nfs/namespace.c index aea76d0..acfc56f 100644 --- 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); } /* - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html