[linux-cifs-client] Re: [PATCH 08/10] cifs: remove cifs_readlink
and CIFSSMBQueryReparseLinkInfo
Steve French
smfrench at gmail.com
Wed Apr 29 14:27:55 GMT 2009
On Wed, Apr 29, 2009 at 8:29 AM, Jeff Layton <jlayton at redhat.com> wrote:
> CIFSSMBQueryReparseLinkInfo is only called by cifs_readlink, and
> cifs_readlink is never called by anything. A quick look at
> CIFSSMBQueryReparseLinkInfo shows that it has several problems
> with handling of endianness as well.
What happens when we read a Junction with current code then?
Windows allows users to create a "junction" (see the Windows utilities
"linkd.exe", "ln.exe" and "fsutil"). Junctions look a little like a
symlink. Although usually they have absolute paths, I think that they
can be created with relative paths like a symlink. We probably
ought to make sure we can handle this before we remove this.
--
Thanks,
Steve
More information about the linux-cifs-client
mailing list