From: Marko O. <d0...@us...> - 2009-10-18 17:26:07
|
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 5bd840461f5e33cf9ee0a83751daae473b1407c6 (commit) from 17301662a4431352d1e9a8baa5ef125322363f8a (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 5bd840461f5e33cf9ee0a83751daae473b1407c6 Author: Marko Obrovac <mar...@in...> Date: Sun Oct 18 19:23:52 2009 +0200 [FIX] Conform the nameidata structure changes to the newest kernel structure diff --git a/fs/kdfs/physical_fs.c b/fs/kdfs/physical_fs.c index c6a7f47..0ae67a8 100644 --- a/fs/kdfs/physical_fs.c +++ b/fs/kdfs/physical_fs.c @@ -114,14 +114,14 @@ long create_phys_dir(const char *pathname, lockdep_on(); error = PTR_ERR(dentry); if (!IS_ERR(dentry)) { - error = vfs_mkdir(nd.dentry->d_inode, dentry, mode); + error = vfs_mkdir(nd.path.dentry->d_inode, dentry, mode); dput(dentry); } lockdep_off(); - mutex_unlock(&nd.dentry->d_inode->i_mutex); + mutex_unlock(&nd.path.dentry->d_inode->i_mutex); lockdep_on(); - path_release(&nd); + path_put(&nd.path); out: chroot_to_saved_root(&saved_path); @@ -208,7 +208,7 @@ out: struct file *open_phys_file(char *filename, int flags, int mode, uid_t uid, gid_t gid) { int error = 0; - struct file *file; + struct file *file = NULL; struct path saved_path; const struct cred *old_creds; struct cred *overridden_creds; ----------------------------------------------------------------------- Summary of changes: fs/kdfs/physical_fs.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) hooks/post-receive -- kdfs |