namespace.c (02e2407858fd62053bf60349c0e72cd1c7a4a60e) | namespace.c (7c5130588d691a3b34d02312f1bd1b6d56fe0100) |
---|---|
1/* 2 * linux/fs/nfs/namespace.c 3 * 4 * Copyright (C) 2005 Trond Myklebust <Trond.Myklebust@netapp.com> 5 * - Modified by David Howells <dhowells@redhat.com> 6 * 7 * NFS namespace 8 */ --- 139 unchanged lines hidden (view full) --- 148 fattr = nfs_alloc_fattr(); 149 if (fh == NULL || fattr == NULL) 150 goto out; 151 152 dprintk("%s: enter\n", __func__); 153 154 /* Look it up again to get its attributes */ 155 parent = dget_parent(path->dentry); | 1/* 2 * linux/fs/nfs/namespace.c 3 * 4 * Copyright (C) 2005 Trond Myklebust <Trond.Myklebust@netapp.com> 5 * - Modified by David Howells <dhowells@redhat.com> 6 * 7 * NFS namespace 8 */ --- 139 unchanged lines hidden (view full) --- 148 fattr = nfs_alloc_fattr(); 149 if (fh == NULL || fattr == NULL) 150 goto out; 151 152 dprintk("%s: enter\n", __func__); 153 154 /* Look it up again to get its attributes */ 155 parent = dget_parent(path->dentry); |
156 err = server->nfs_client->rpc_ops->lookup(parent->d_inode, | 156 err = server->nfs_client->rpc_ops->lookup(server->client, parent->d_inode, |
157 &path->dentry->d_name, 158 fh, fattr); 159 dput(parent); 160 if (err != 0) { 161 mnt = ERR_PTR(err); 162 goto out; 163 } 164 --- 106 unchanged lines hidden --- | 157 &path->dentry->d_name, 158 fh, fattr); 159 dput(parent); 160 if (err != 0) { 161 mnt = ERR_PTR(err); 162 goto out; 163 } 164 --- 106 unchanged lines hidden --- |