This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] readdir() with mount point dentry, return mount point INO


On Jun 13 11:12, Joe Lowe wrote:
> 
> This patch fixes a minor compatibility issue w/ cygwin mount point handling
> in readdir(), compared to equivalent behavior of Linux and MacOS.
> dentry.d_ino should indicate the INO of the mount point itself, not the
> target volume root folder.
> 
> Changed return type from readdir_check_reparse_point to uint8_t, to avoid
> unnecessarily being implicitly cast to and from a signed int.
> 	
> Renamed a related local variable "attr" to "oattr" that was eclipsing a
> member variable with the same name.

Pushed.  Can you please send patches in `git format-patch' format?  Those
are nicer to apply.

Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]