wenhuizhang <wenhui@xxxxxxxxxxxxxx> writes: > Deadstore detected by Lukas Bulwahn's CodeChecker Tool (ELISA group). > > line 741 struct cifsInodeInfo *cinode; > line 747 cinode = CIFS_I(d_inode(cfile->dentry)); > could be deleted. > > Signed-off-by: wenhuizhang <wenhui@xxxxxxxxxxxxxx> > > cinode on filesystem should not be deleted when files are closed, they are representations of some data fields on a physical disk, thus no further action is required. > The virtual inode on vfs will be handled by vfs automatically, and the denotation is inode, which is different from the cinode. This looks ok but the patch subject is wrong. Also the signed-off tag should be the last thing in the commit msg. Cheers, -- Aurélien Aptel / SUSE Labs Samba Team GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3 SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, DE GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 247165 (AG München)