diff options
author | Sukadev Bhattiprolu | 2007-05-11 07:22:58 +0200 |
---|---|---|
committer | Linus Torvalds | 2007-05-11 17:29:35 +0200 |
commit | e713d0dab21a68500720e222fa02567fc7dfb14b (patch) | |
tree | a56f90ce94d9287b73da6db72ed0e73542a70a07 /fs/gfs2/inode.c | |
parent | rtc-rs5c313.c: add error handling to avoid hardware hangup (diff) | |
download | kernel-qcow2-linux-e713d0dab21a68500720e222fa02567fc7dfb14b.tar.gz kernel-qcow2-linux-e713d0dab21a68500720e222fa02567fc7dfb14b.tar.xz kernel-qcow2-linux-e713d0dab21a68500720e222fa02567fc7dfb14b.zip |
attach_pid() with struct pid parameter
attach_pid() currently takes a pid_t and then uses find_pid() to find the
corresponding struct pid. Sometimes we already have the struct pid. We can
then skip find_pid() if attach_pid() were to take a struct pid parameter.
Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Cc: Cedric Le Goater <clg@fr.ibm.com>
Cc: Dave Hansen <haveblue@us.ibm.com>
Cc: Serge Hallyn <serue@us.ibm.com>
Cc: <containers@lists.osdl.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/gfs2/inode.c')
0 files changed, 0 insertions, 0 deletions