[PATCH] use get_fs_struct() in proc
authorMiklos Szeredi <miklos@szeredi.hu>
Tue, 6 Sep 2005 22:18:22 +0000 (15:18 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:57:43 +0000 (16:57 -0700)
commit0494f6ec5d3a015d53b57e37280b93c19446676a
treeb48855ab886d962d50807047eeff086ee50b882a
parent09dd17d3e5e43ea6d3f3a12829108c4ca13ff810
[PATCH] use get_fs_struct() in proc

This patch cleans up proc_cwd_link() and proc_root_link() by factoring
out common code into get_fs_struct().

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Cc: <viro@parcelfarce.linux.theplanet.co.uk>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/proc/base.c