diff options
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/nfs4xdr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index 8880ec8cfd11..a8549f8fef57 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c | |||
@@ -1812,6 +1812,9 @@ static __be32 nfsd4_encode_components_esc(struct xdr_stream *xdr, char sep, | |||
1812 | } | 1812 | } |
1813 | else | 1813 | else |
1814 | end++; | 1814 | end++; |
1815 | if (found_esc) | ||
1816 | end = next; | ||
1817 | |||
1815 | str = end; | 1818 | str = end; |
1816 | } | 1819 | } |
1817 | pathlen = htonl(xdr->buf->len - pathlen_offset); | 1820 | pathlen = htonl(xdr->buf->len - pathlen_offset); |