X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fnfs%2Fnamespace.c;h=acfc56f9edc04c53b25efaffeb80eb0ba9d887c5;hb=0fd5355470ea40355b8af76d01748ec7b9926d4d;hp=7f86e65182e450b528ab7e0a6811ece68c516b56;hpb=4559b438225b01942e1661759db0df55883b1bc0;p=linux-2.6 diff --git a/fs/nfs/namespace.c b/fs/nfs/namespace.c index 7f86e65182..acfc56f9ed 100644 --- a/fs/nfs/namespace.c +++ b/fs/nfs/namespace.c @@ -175,10 +175,8 @@ static void nfs_expire_automounts(struct work_struct *work) void nfs_release_automount_timer(void) { - if (list_empty(&nfs_automount_list)) { + if (list_empty(&nfs_automount_list)) cancel_delayed_work(&nfs_automount_task); - flush_scheduled_work(); - } } /*