Solomon Boulos has uploaded this change for review.

View Change

Implement readdir!

$ ls -l proxy-mount/
total 16
-rw-r--r-- 1 boulos boulos 16 Feb 15 00:15 hello.txt
drwxr-xr-x 2 boulos boulos 4096 Feb 22 18:12 subdir
-rw-r--r-- 1 boulos boulos 8 Feb 26 02:35 woohoo.txt
-rw-r--r-- 1 boulos boulos 11 Feb 15 00:15 yo.txt

There are a few "Uhh, how does Ganesha" handle this, as well as the "Oh, it
crashes Ganesha if you emit the .. or . entries." that should be documented for
implementors of readdir in FSALs, but otherwise, seems to work.

Change-Id: I57b9843e5ef5bc2c83eca9fbb53ab30131210913
Signed-off-by: Solomon Boulos <boulos@google.com>
---
M src/FSAL/FSAL_PROXY_V3/main.c
1 file changed, 144 insertions(+), 0 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/47/487447/1

To view, visit change 487447. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I57b9843e5ef5bc2c83eca9fbb53ab30131210913
Gerrit-Change-Number: 487447
Gerrit-PatchSet: 1
Gerrit-Owner: Solomon Boulos <boulos@google.com>
Gerrit-MessageType: newchange