p9_client_readdir() fix
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 14 Apr 2017 21:22:18 +0000 (17:22 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 May 2017 15:37:43 +0000 (08:37 -0700)
commitbec0749254e7d57735a77d087438546ece68eb99
tree3145410f17c44debaf49423c79dcb5ec6b339a53
parent67355b67b41c47d7dbb4c7843312e06f0b4e3640
p9_client_readdir() fix

commit 71d6ad08379304128e4bdfaf0b4185d54375423e upstream.

Don't assume that server is sane and won't return more data than
asked for.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/9p/client.c