Re: [PATCH] fs, proc: Introduce the /proc/<pid>/children entry v2

From: Tejun Heo
Date: Wed Dec 07 2011 - 13:27:30 EST


Hello,

On Wed, Dec 07, 2011 at 01:41:44PM +0400, Cyrill Gorcunov wrote:
> +static void children_seq_stop(struct seq_file *seq, void *v)
> +{
> + rcu_read_unlock();
> + seq_printf(seq, "\n");
> +}

Wouldn't this add newline on page boundary? Newline should be printed
at the end of the whole sequence but seq_stop() is called at buffer
boundaries.

Thanks.

--
tejun
--
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/