9p: Pass the correct end of buffer to p9dirent_read
authorSripathi Kodi <sripathik@in.ibm.com>
Mon, 9 Aug 2010 11:33:10 +0000 (11:33 +0000)
committerEric Van Hensbergen <ericvh@gmail.com>
Thu, 28 Oct 2010 14:08:44 +0000 (09:08 -0500)
commit8812a3d5f873e28cd08ec8afe328c4182b72db49
tree8e1ce30ea7bb5f3cf0c19394ade1e101617581f7
parent3834b12a18d51d6c535ea52e16355d75806ffe38
9p: Pass the correct end of buffer to p9dirent_read

A patch was accepted recently for sending correct buffer size to p9stat_read.
We need a similar patch in v9fs_dir_readdir_dotl to send correct end of buffer
to p9dirent_read.

Signed-off-by: Sripathi Kodi <sripathik@in.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/vfs_dir.c