diff options
| -rw-r--r-- | fs/nfsd/nfs4proc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index 52bb14debb30..937853f62834 100644 --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c | |||
| @@ -775,7 +775,8 @@ _nfsd4_verify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, | |||
| 775 | if (status) | 775 | if (status) |
| 776 | goto out_kfree; | 776 | goto out_kfree; |
| 777 | 777 | ||
| 778 | p = buf + 3; | 778 | /* skip bitmap */ |
| 779 | p = buf + 1 + ntohl(buf[0]); | ||
| 779 | status = nfserr_not_same; | 780 | status = nfserr_not_same; |
| 780 | if (ntohl(*p++) != verify->ve_attrlen) | 781 | if (ntohl(*p++) != verify->ve_attrlen) |
| 781 | goto out_kfree; | 782 | goto out_kfree; |
