lkml.org 
[lkml]   [2013]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 25/28] proc: Supply an accessor to get the process ID associated with some proc files [RFC]
Hello, David.

On Tue, Apr 16, 2013 at 07:27:30PM +0100, David Howells wrote:
> +struct pid *get_proc_pid(const struct inode *inode)
> +{
> + return PROC_I(inode)->pid;
> +}

Maybe we can add /** comment explaining what this is about? Other
than that, it looks fine to me. It probably would be best to route
this through -mm given it touches /proc too, so cc Andrew on the next
posting?

Thanks.

--
tejun


\
 
 \ /
  Last update: 2013-04-18 21:21    [W:0.221 / U:1.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site