[CIFS] Fix unlink oops when indirectly called in rename error path under heavy stress.

Signed-off-by: Steve French <sfrench@us.ibm.com>

+4 -1
+4 -1
fs/cifs/inode.c
··· 569 569 570 570 xid = GetXid(); 571 571 572 - cifs_sb = CIFS_SB(inode->i_sb); 572 + if(inode) 573 + cifs_sb = CIFS_SB(inode->i_sb); 574 + else 575 + cifs_sb = CIFS_SB(dentry->d_sb); 573 576 pTcon = cifs_sb->tcon; 574 577 575 578 /* Unlink can be called from rename so we can not grab the sem here