Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.25-rc7 /fs/nfsctl.c

Filename:/fs/nfsctl.c
Lines Added:2
Lines Deleted:2
Also changed in: (Previous) 2.6.25-rc6  2.6.25-rc5  2.6.25-rc4  2.6.25-rc3  2.6.25-rc2  2.6.25-rc1-git4 
(Following) 2.6.25-rc8  2.6.25-rc9  2.6.25 

Location
[  2.6.25-rc7
  [  fs
     o  nfsctl.c

Patch

diff --git a/fs/nfsctl.c b/fs/nfsctl.c
index 51f1b31..aed8145 100644
--- a/fs/nfsctl.c
+++ b/fs/nfsctl.c
@@ -41,9 +41,9 @@ static struct file *do_open(char *name, int flags)
       error = may_open(&nd, MAY_WRITE, FMODE_WRITE);
 
    if (!error)
-      return dentry_open(nd.dentry, nd.mnt, flags);
+      return dentry_open(nd.path.dentry, nd.path.mnt, flags);
 
-   path_release(&nd);
+   path_put(&nd.path);
    return ERR_PTR(error);
 }
 


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.