]> err.no Git - linux-2.6/commit
Make set_fs_{root,pwd} take a struct path
authorJan Blunck <jblunck@suse.de>
Fri, 15 Feb 2008 03:34:39 +0000 (19:34 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 15 Feb 2008 05:13:33 +0000 (21:13 -0800)
commitac748a09fc873915254ed69fe83f1a95436ee30a
tree1544b5d5d71e1d4902a1e1255ef8703260a0150e
parent6ac08c39a16f72c2d3e845cb6849a1392fa03e80
Make set_fs_{root,pwd} take a struct path

In nearly all cases the set_fs_{root,pwd}() calls work on a struct
path. Change the function to reflect this and use path_get() here.

Signed-off-by: Jan Blunck <jblunck@suse.de>
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/namespace.c
fs/open.c
include/linux/fs_struct.h