[linux-cifs-client] Re: checking for rename of hardlinked files on windows

Jeff Layton jlayton at redhat.com
Tue Sep 23 18:22:37 GMT 2008


On Tue, 23 Sep 2008 13:19:48 -0500
"Steve French" <smfrench at gmail.com> wrote:

> in cifs_rename we check:
> 
>         if (rc == -EEXIST) {
>                 if (pTcon->unix_ext) {
>                         /*
>                          * Are src and dst hardlinks of same inode? We can
>                          * only tell with unix extensions enabled
> 
> we could also add the same check for Windows (the UniqueId field is
> supported by many servers)
> 

Yep. I thought of that too, but figured I was doing enough changes
right now :)

Certainly would be reasonable in a follow-on patch though...

-- 
Jeff Layton <jlayton at redhat.com>


More information about the linux-cifs-client mailing list