symlink: report symlinks to cygwin in NfsV3Attributes
Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
a7e2d6ad2a
commit
bff723a91b
1 changed files with 3 additions and 1 deletions
|
|
@ -3295,7 +3295,9 @@ void print_nfs3_attrs(nfs3_attrs *attrs)
|
|||
void create_nfs3_attrs(nfs3_attrs *attrs, PNFS41_FCB nfs41_fcb)
|
||||
{
|
||||
RtlZeroMemory(attrs, sizeof(nfs3_attrs));
|
||||
if (nfs41_fcb->StandardInfo.Directory)
|
||||
if (nfs41_fcb->BasicInfo.FileAttributes & FILE_ATTRIBUTE_REPARSE_POINT)
|
||||
attrs->type = NF3LNK;
|
||||
else if (nfs41_fcb->StandardInfo.Directory)
|
||||
attrs->type = NF3DIR;
|
||||
else
|
||||
attrs->type = NF3REG;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue