Commit ee9eabb5 authored by Neil Brown's avatar Neil Brown Committed by Linus Torvalds

[PATCH] knfsd: nfsd4: encode_dirent: superfluous assignment

Remove unused assignment
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: default avatarNeil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 74f1778d
......@@ -1814,8 +1814,7 @@ nfsd4_encode_dirent(struct readdir_cd *ccd, const char *name, int namlen,
exp_get(exp);
if (d_mountpoint(dentry)) {
if ((nfserr = nfsd_cross_mnt(cd->rd_rqstp, &dentry,
&exp))) {
if (nfsd_cross_mnt(cd->rd_rqstp, &dentry, &exp)) {
/*
* -EAGAIN is the only error returned from
* nfsd_cross_mnt() and it indicates that an
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment