···569570 xid = GetXid();571572- cifs_sb = CIFS_SB(inode->i_sb);000573 pTcon = cifs_sb->tcon;574575 /* Unlink can be called from rename so we can not grab the sem here
···569570 xid = GetXid();571572+ if(inode)573+ cifs_sb = CIFS_SB(inode->i_sb);574+ else575+ cifs_sb = CIFS_SB(dentry->d_sb);576 pTcon = cifs_sb->tcon;577578 /* Unlink can be called from rename so we can not grab the sem here