summaryrefslogtreecommitdiffstats
path: root/fs/nfs/dir.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-04-24 20:01:02 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-04-24 20:01:02 +0200
commit233607dbbc823caf685e778cabc49fb7f679900b (patch)
tree13840137ee10788061cbec60fcfe8ea4c274558e /fs/nfs/dir.c
parentslab_err: Pass parameters correctly to slab_bug (diff)
parentSUNRPC: Invalidate the RPCSEC_GSS session if the server dropped the request (diff)
downloadlinux-233607dbbc823caf685e778cabc49fb7f679900b.tar.xz
linux-233607dbbc823caf685e778cabc49fb7f679900b.zip
Merge branch 'devel'
Diffstat (limited to 'fs/nfs/dir.c')
-rw-r--r--fs/nfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index d9e30ac2798d..f288b3ecab4a 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -1967,7 +1967,7 @@ force_lookup:
if (!NFS_PROTO(inode)->access)
goto out_notsup;
- cred = rpcauth_lookupcred(NFS_CLIENT(inode)->cl_auth, 0);
+ cred = rpc_lookup_cred();
if (!IS_ERR(cred)) {
res = nfs_do_access(inode, cred, mask);
put_rpccred(cred);