Re: [PATCH 08/10] cifs: remove cifs_readlink and CIFSSMBQueryReparseLinkInfo

Steve French <[email protected]>
Newsgroups gmane.linux.file-systems.cifs
Message-ID <[email protected]>
On Wed, Apr 29, 2009 at 8:29 AM, Jeff Layton <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.