projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43a9aa6
)
nfsd: remove unused assignment from nfsd_link
author
J. Bruce Fields
<bfields@redhat.com>
Mon, 19 Jul 2010 20:38:24 +0000
(16:38 -0400)
committer
J. Bruce Fields
<bfields@redhat.com>
Fri, 23 Jul 2010 12:50:39 +0000
(08:50 -0400)
Trivial cleanup, since "dest" is never used.
Reported-by: Anshul Madan <Anshul.Madan@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/vfs.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfsd/vfs.c
b/fs/nfsd/vfs.c
index e3611b55531b8dac391c61c2ad3e32f9117b9ad3..5ca984bbd7d33a3779ad456ed9982c60fb5c56c3 100644
(file)
--- a/
fs/nfsd/vfs.c
+++ b/
fs/nfsd/vfs.c
@@
-1632,7
+1632,7
@@
nfsd_link(struct svc_rqst *rqstp, struct svc_fh *ffhp,
char *name, int len, struct svc_fh *tfhp)
{
struct dentry *ddir, *dnew, *dold;
- struct inode *dirp
, *dest
;
+ struct inode *dirp;
__be32 err;
int host_err;
@@
-1660,7
+1660,6
@@
nfsd_link(struct svc_rqst *rqstp, struct svc_fh *ffhp,
goto out_nfserr;
dold = tfhp->fh_dentry;
- dest = dold->d_inode;
host_err = mnt_want_write(tfhp->fh_export->ex_path.mnt);
if (host_err) {