Solomon Boulos has uploaded this change for review.

View Change

Implement (hard)LINK.

$ ln proxy-mount/hello.txt proxy-mount/hard-link.txt

$ stat proxy-mount/hard-link.txt
File: proxy-mount/hard-link.txt
Size: 16 Blocks: 8 IO Block: 1048576 regular file
Device: 26h/38d Inode: 541601 Links: 2
Access: (0644/-rw-r--r--) Uid: ( 1000/ boulos) Gid: ( 1001/ boulos)
Access: 2020-03-10 17:36:24.809289108 +0000
Modify: 2020-02-15 00:15:20.803463815 +0000
Change: 2020-03-11 00:23:02.863319971 +0000
Birth: -

$ stat proxy-mount/hello.txt
File: proxy-mount/hello.txt
Size: 16 Blocks: 8 IO Block: 1048576 regular file
Device: 26h/38d Inode: 541601 Links: 2
Access: (0644/-rw-r--r--) Uid: ( 1000/ boulos) Gid: ( 1001/ boulos)
Access: 2020-03-10 17:36:24.809289108 +0000
Modify: 2020-02-15 00:15:20.803463815 +0000
Change: 2020-03-11 00:23:02.863319971 +0000
Birth: -

inodes match! Woohoo.

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

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

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

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