From: Marko O. <d0...@us...> - 2009-10-16 17:11:09
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "kdfs". The branch, make_kdfs_compile has been updated via a1b5a937506912cc8e339d002ed54e8f3ec2cc34 (commit) from 29ceb8abebd6ea37670ecbf0f5fc19e280bdeb29 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit a1b5a937506912cc8e339d002ed54e8f3ec2cc34 Author: Marko Obrovac <mar...@in...> Date: Fri Oct 16 17:05:38 2009 +0000 [MINOR] Fix part (the "read" part) of ticket #3 (nonexisting task_struct members) diff --git a/fs/kdfs/physical_fs.c b/fs/kdfs/physical_fs.c index 689f690..6b91b91 100644 --- a/fs/kdfs/physical_fs.c +++ b/fs/kdfs/physical_fs.c @@ -52,8 +52,8 @@ long create_phys_dir(const char *pathname, saved_mnt = current->fs->rootmnt; saved_root = current->fs->root; - saved_uid = current->fsuid; - saved_gid = current->fsgid; + saved_uid = current_fsuid(); + saved_gid = current_fsgid(); current->fs->rootmnt = init_task.fs->rootmnt; current->fs->root = init_task.fs->root; @@ -123,8 +123,8 @@ long remove_phys_dir(const char *pathname, uid_t uid, gid_t gid) saved_mnt = current->fs->rootmnt; saved_root = current->fs->root; - saved_uid = current->fsuid; - saved_gid = current->fsgid; + saved_uid = current_fsuid(); + saved_gid = current_fsgid(); current->fs->rootmnt = init_task.fs->rootmnt; current->fs->root = init_task.fs->root; @@ -192,8 +192,8 @@ struct file *open_phys_file(char *filename, int flags, int mode, uid_t uid, gid_ saved_mnt = current->fs->rootmnt; saved_root = current->fs->root; - saved_uid = current->fsuid; - saved_gid = current->fsgid; + saved_uid = current_fsuid(); + saved_gid = current_fsgid(); current->fs->rootmnt = init_task.fs->rootmnt; current->fs->root = init_task.fs->root; @@ -395,8 +395,8 @@ int remove_phys_file(const char *filename, uid_t uid, gid_t gid) saved_mnt = current->fs->rootmnt; saved_root = current->fs->root; - saved_uid = current->fsuid; - saved_gid = current->fsgid; + saved_uid = current_fsuid(); + saved_gid = current_fsgid(); current->fs->rootmnt = init_task.fs->rootmnt; current->fs->root = init_task.fs->root; ----------------------------------------------------------------------- Summary of changes: fs/kdfs/physical_fs.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) hooks/post-receive -- kdfs |