procfs: Move /proc/pid/fd[info] handling code to fd.[ch]
authorCyrill Gorcunov <gorcunov@openvz.org>
Thu, 23 Aug 2012 10:43:24 +0000 (14:43 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 27 Sep 2012 01:10:01 +0000 (21:10 -0400)
commitfaf60af17f8da87e1c87a6be527344791025ce9e
tree72f58a1061383a38dc6618f911d4becc95a22c03
parent864bdb3b6cbd9911222543fef1cfe36f88183f44
procfs: Move /proc/pid/fd[info] handling code to fd.[ch]

This patch prepares the ground for further extension of
/proc/pid/fd[info] handling code by moving fdinfo handling
code into fs/proc/fd.c.

I think such move makes both fs/proc/base.c and fs/proc/fd.c
easier to read.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
CC: Al Viro <viro@ZenIV.linux.org.uk>
CC: Alexey Dobriyan <adobriyan@gmail.com>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: James Bottomley <jbottomley@parallels.com>
CC: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
CC: Alexey Dobriyan <adobriyan@gmail.com>
CC: Matthew Helsley <matt.helsley@gmail.com>
CC: "J. Bruce Fields" <bfields@fieldses.org>
CC: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/proc/Makefile
fs/proc/base.c
fs/proc/fd.c [new file with mode: 0644]
fs/proc/fd.h [new file with mode: 0644]
fs/proc/internal.h