[pnfs] [PATCH 1/1] rpc: Switch from nd->{dentry, mnt} to nd->path.{dentry, mnt}
andros at netapp.com
andros at netapp.com
Tue Apr 29 14:50:02 EDT 2008
From: Andy Adamson <andros at netapp.com>
linux-2-6-25 fred-spnfs
Don't know how this slipped through the overall switch done in
4ac9137858e08a19f29feac4e1f4df7c268b0ba5
Signed-off-by: Andy Adamson<andros at netapp.com>
---
net/sunrpc/rpc_pipe.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c
index f80b730..1d0f315 100644
--- a/net/sunrpc/rpc_pipe.c
+++ b/net/sunrpc/rpc_pipe.c
@@ -822,7 +822,7 @@ rpc_mkpipe_compat(char *path, void *private, struct rpc_pipe_ops *ops,
dentry = rpc_lookup_negative(path, &nd);
if (IS_ERR(dentry))
return dentry;
- dir = nd.dentry->d_inode;
+ dir = nd.path.dentry->d_inode;
inode = rpc_get_inode(dir->i_sb, S_IFSOCK | S_IRUSR | S_IWUSR);
if (!inode)
goto err_dput;
--
1.5.4.1
More information about the pNFS
mailing list