Re: [PATCH 2/7] proc: Implement support for automounts in taskdirectories

From: Andrew Morton
Date: Thu Nov 06 2008 - 20:27:11 EST


On Thu, 06 Nov 2008 02:48:35 -0800
ebiederm@xxxxxxxxxxxx (Eric W. Biederman) wrote:

> +void proc_shrink_automounts(void)
> +{
> + struct list_head *list = &proc_automounts;
> +
> + mark_mounts_for_expiry(list);
> + mark_mounts_for_expiry(list);

Strange. In case the first attempt didn't work?

> + if (list_empty(list))
> + return;
> +
> + schedule_delayed_work(&proc_automount_task, proc_automount_timeout);
> +}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/