Re: [RFC PATCH] vfs: optimization to /proc/<pid>/mountinfo patch

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Miklos Szeredi
Date: Monday, February 4, 2008 - 4:49 am

> 1) reports deleted inode in dentry_path() consistent with that in __d_path()

This is confusing.  Should return -ENAMETOOLONG intead (see Chapter 16
in Documentation/CodingStyle).


And this should test for "prepend() != 0" or "prepend() < 0" instead,
otherwise it could easily be misread as "if prepend() succeeded,
then...".

And similarly for all the later calls.

Thanks,
Miklos
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch] vfs: create /proc/&lt;pid&gt;/mountinfo, Miklos Szeredi, (Tue Jan 29, 6:57 am)
Re: [patch] vfs: create /proc/&lt;pid&gt;/mountinfo, Andrew Morton, (Wed Jan 30, 5:08 pm)
Re: [patch] vfs: create /proc/&lt;pid&gt;/mountinfo, Miklos Szeredi, (Thu Jan 31, 2:17 am)
Re: [RFC PATCH] vfs: optimization to /proc/<pid>/mountinfo ..., Miklos Szeredi, (Mon Feb 4, 4:49 am)