···4848/* No need to check for cross device links since server will do that4949 BB note DFS case in future though (when we may have to check) */50505151- mutex_lock(&inode->i_sb->s_vfs_rename_mutex);5251 fromName = build_path_from_dentry(old_file);5352 toName = build_path_from_dentry(direntry);5454- mutex_unlock(&inode->i_sb->s_vfs_rename_mutex);5553 if((fromName == NULL) || (toName == NULL)) {5654 rc = -ENOMEM;5755 goto cifs_hl_exit;···101103102104 xid = GetXid();103105104104- mutex_lock(&direntry->d_sb->s_vfs_rename_mutex);105106 full_path = build_path_from_dentry(direntry);106106- mutex_unlock(&direntry->d_sb->s_vfs_rename_mutex);107107108108 if (!full_path)109109 goto out_no_free;···160164 cifs_sb = CIFS_SB(inode->i_sb);161165 pTcon = cifs_sb->tcon;162166163163- mutex_lock(&inode->i_sb->s_vfs_rename_mutex);164167 full_path = build_path_from_dentry(direntry);165165- mutex_unlock(&inode->i_sb->s_vfs_rename_mutex);166168167169 if(full_path == NULL) {168170 FreeXid(xid);