summaryrefslogtreecommitdiff
path: root/fs/nfs/unlink.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2008-04-21 16:11:12 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2008-04-21 16:11:12 +1000
commit411e8a08bf8b54596fda6bbd9e83f577a002a3a0 (patch)
tree4e7b1b9701b1f75774cc283f4f1cf4408ca429a0 /fs/nfs/unlink.c
parent4a38a76825bd826deb02219edaa30ca5b733bcf0 (diff)
parent576fa8f02f1cd068f2826167b51758a494880996 (diff)
Merge commit 'nfs/linux-next'
Diffstat (limited to 'fs/nfs/unlink.c')
-rw-r--r--fs/nfs/unlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/unlink.c b/fs/nfs/unlink.c
index 757415363422..3adf8b266461 100644
--- a/fs/nfs/unlink.c
+++ b/fs/nfs/unlink.c
@@ -234,7 +234,7 @@ nfs_async_unlink(struct inode *dir, struct dentry *dentry)
if (data == NULL)
goto out;
- data->cred = rpcauth_lookupcred(NFS_CLIENT(dir)->cl_auth, 0);
+ data->cred = rpc_lookup_cred();
if (IS_ERR(data->cred)) {
status = PTR_ERR(data->cred);
goto out_free;