diff options
author | Tejun Heo <tj@kernel.org> | 2010-10-19 17:55:54 +0200 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-10-19 18:58:36 +0000 |
commit | 3e24e132878c83910b61eb7704511a6d96a0389f (patch) | |
tree | e67f001dd582ad202fc779df4b0a93867abc2ea2 /fs | |
parent | 89f150f401c32b0a587dcb98d3bcfafe0b9c1c70 (diff) | |
download | linux-3.10-3e24e132878c83910b61eb7704511a6d96a0389f.tar.gz linux-3.10-3e24e132878c83910b61eb7704511a6d96a0389f.tar.bz2 linux-3.10-3e24e132878c83910b61eb7704511a6d96a0389f.zip |
cifs: cancel_delayed_work() + flush_scheduled_work() -> cancel_delayed_work_sync()
flush_scheduled_work() is going away.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/cifs/cifs_dfs_ref.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cifs/cifs_dfs_ref.c b/fs/cifs/cifs_dfs_ref.c index f4aab6f0117..c68a056f27f 100644 --- a/fs/cifs/cifs_dfs_ref.c +++ b/fs/cifs/cifs_dfs_ref.c @@ -44,8 +44,7 @@ static void cifs_dfs_expire_automounts(struct work_struct *work) void cifs_dfs_release_automount_timer(void) { BUG_ON(!list_empty(&cifs_dfs_automount_list)); - cancel_delayed_work(&cifs_dfs_automount_task); - flush_scheduled_work(); + cancel_delayed_work_sync(&cifs_dfs_automount_task); } /** |