···48/* No need to check for cross device links since server will do that49 BB note DFS case in future though (when we may have to check) */5051- mutex_lock(&inode->i_sb->s_vfs_rename_mutex);52 fromName = build_path_from_dentry(old_file);53 toName = build_path_from_dentry(direntry);54- mutex_unlock(&inode->i_sb->s_vfs_rename_mutex);55 if((fromName == NULL) || (toName == NULL)) {56 rc = -ENOMEM;57 goto cifs_hl_exit;···101102 xid = GetXid();103104- mutex_lock(&direntry->d_sb->s_vfs_rename_mutex);105 full_path = build_path_from_dentry(direntry);106- mutex_unlock(&direntry->d_sb->s_vfs_rename_mutex);107108 if (!full_path)109 goto out_no_free;···160 cifs_sb = CIFS_SB(inode->i_sb);161 pTcon = cifs_sb->tcon;162163- mutex_lock(&inode->i_sb->s_vfs_rename_mutex);164 full_path = build_path_from_dentry(direntry);165- mutex_unlock(&inode->i_sb->s_vfs_rename_mutex);166167 if(full_path == NULL) {168 FreeXid(xid);
···48/* No need to check for cross device links since server will do that49 BB note DFS case in future though (when we may have to check) */50051 fromName = build_path_from_dentry(old_file);52 toName = build_path_from_dentry(direntry);053 if((fromName == NULL) || (toName == NULL)) {54 rc = -ENOMEM;55 goto cifs_hl_exit;···103104 xid = GetXid();1050106 full_path = build_path_from_dentry(direntry);0107108 if (!full_path)109 goto out_no_free;···164 cifs_sb = CIFS_SB(inode->i_sb);165 pTcon = cifs_sb->tcon;1660167 full_path = build_path_from_dentry(direntry);0168169 if(full_path == NULL) {170 FreeXid(xid);