Re: [RFC][PATCH] VFS: create /proc/<pid>/mountinfo

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Miklos Szeredi <miklos@...>
Cc: <akpm@...>, <linux-fsdevel@...>, <linux-kernel@...>, <util-linux-ng@...>, <linuxram@...>, <viro@...>, <hch@...>, <a.p.zijlstra@...>
Date: Sunday, January 20, 2008 - 7:20 am

On Jan 19 2008 12:05, Miklos Szeredi wrote:

Hm, this functions looks very much like __d_path(). Is it
an unintentional copy?


(IDR numbers are IMO fine.)


These do not seem to be static data. Please mark them as const.

static const struct proc_fs_info.


const char *str.

      const


{} could go.

I think this can go const.

                                    const char *p, const char *esc
                                                           const char *esc

Should/could it be unsigned int, or does it need to store -1?

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH] VFS: create /proc/&lt;pid&gt;/mountinfo, Miklos Szeredi, (Sat Jan 19, 7:05 am)
Re: [RFC][PATCH] VFS: create /proc/&lt;pid&gt;/mountinfo, Miklos Szeredi, (Mon Jan 21, 5:25 pm)
Re: [RFC][PATCH] VFS: create /proc/&lt;pid&gt;/mountinfo, Miklos Szeredi, (Mon Jan 21, 6:09 pm)
Re: [RFC][PATCH] VFS: create /proc/&lt;pid&gt;/mountinfo, Serge E. Hallyn, (Tue Jan 22, 4:56 pm)
Re: [RFC][PATCH] VFS: create /proc/<pid>/mountinfo, Jan Engelhardt, (Sun Jan 20, 7:20 am)
Re: [RFC][PATCH] VFS: create /proc/&lt;pid&gt;/mountinfo, Miklos Szeredi, (Sun Jan 20, 8:20 am)
Re: [RFC][PATCH] VFS: create /proc/&lt;pid&gt;/mountinfo, H. Peter Anvin, (Sun Jan 20, 1:41 am)
Re: [RFC][PATCH] VFS: create /proc/&lt;pid&gt;/mountinfo, Miklos Szeredi, (Sun Jan 20, 4:23 am)
Re: [RFC][PATCH] VFS: create /proc/&lt;pid&gt;/mountinfo, H. Peter Anvin, (Wed Jan 23, 3:02 pm)
Re: [RFC][PATCH] VFS: create /proc/&lt;pid&gt;/mountinfo, Miklos Szeredi, (Wed Jan 23, 3:32 pm)