Re: [PATCH 1/2] fs: proc: use __seq_open_private()

From: Rob Jones
Date: Mon Sep 15 2014 - 09:42:50 EST




On 12/09/14 22:54, Andrew Morton wrote:
On Fri, 12 Sep 2014 15:09:37 +0100 Rob Jones <rob.jones@xxxxxxxxxxxxxxx> wrote:

Reduce boilerplate code by using __seq_open_private() instead of seq_open().

http://ozlabs.org/~akpm/mmots/broken-out/fs-proc-task_nommuc-change-maps_open-to-use-__seq_open_private.patch
already did this.


Great. Too recent to be in my source tree though, I'm afraid.

Even so, it's nice to see that his code is identical to mine (except
for the assign-on-declaration, I prefer the whitespace, but hey).

I wonder if this was triggered by my documentation patch for the
routine. If so, that makes me happy :-)

--
Rob Jones
Codethink Ltd
mailto:rob.jones@xxxxxxxxxxxxxxx
tel:+44 161 236 5575
--
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/