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

Steve French smfrench at gmail.com
Tue Sep 23 18:19:48 GMT 2008


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)

-- 
Thanks,

Steve


More information about the linux-cifs-client mailing list