Add sys_chdir system call
commit28c16148d6da96bdd282e4fa2e36d55fe61c4831
authorLiu Aleaxander <Aleaxander@gmail.com>
Sat, 26 Jun 2010 06:43:15 +0000 (26 14:43 +0800)
committerLiu Aleaxander <Aleaxander@gmail.com>
Sat, 26 Jun 2010 06:43:15 +0000 (26 14:43 +0800)
tree41d6d6147ec8771509284ea5b611439427472799
parent442a38d90f60421c3eb1744cf1eff8a82f338115
Add sys_chdir system call

And also move the fs init code into super.c, and the cache init has be moved here
to since the current cache system is depend on the block size of the current root
fs(and we can only hold one fs in memory for now).

Signed-off-by: Liu Aleaxander <Aleaxander@gmail.com>
fs/namei.c
fs/super.c
fs/tfs/super.c
fs/tfs/tfs_cmd.c
include/fs.h
include/tfs.h
init/init.c