[Devel] Re: [PATCH 2/7] proc: Implement support for automounts in task directories

Andrew Morton akpm at linux-foundation.org
Thu Nov 6 17:26:17 PST 2008


On Thu, 06 Nov 2008 02:48:35 -0800
ebiederm at xmission.com (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);
> +}
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list