Re: [patch 6/7] vfs: mountinfo: add /proc/<pid>/mountinfo

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Miklos Szeredi <miklos@...>
Cc: <akpm@...>, <linuxram@...>, <linux-fsdevel@...>, <linux-kernel@...>
Date: Thursday, March 27, 2008 - 6:36 pm

On Thu, Mar 27, 2008 at 01:06:25PM +0100, Miklos Szeredi wrote:

Works for me...


struct flag_name would be better; will do on merge.


BTW, do we really want to bother with quoting?  Anyway, that can live
for now...



You know, _if_ we want to go that way, let's do it right; all callers
of ->show() are in seq_file.c and all of them know the previous value
of m->count.  So let's define SEQ_SKIP as 1 and teach these 3 callers
to handle it.  And make this sucker (and anything else that might want
the same kind of things) return SEQ_SKIP instead of playing with m->count
directly.

Again, will do on merge...
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch 6/7] vfs: mountinfo: add /proc/<pid>/mountinfo, Al Viro, (Thu Mar 27, 6:36 pm)