From: Pavel Shilovsky Date: Fri, 17 Aug 2012 14:02:19 +0000 (+0400) Subject: CIFS: Fix cifs_do_create error hadnling X-Git-Tag: v3.6-rc5~19^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea7b4887e7266b93fa0c203cc452a926a0fef4f0;p=pandora-kernel.git CIFS: Fix cifs_do_create error hadnling Commit d2c127197dfc0b2bae62a52e1e0d3e3ff493919e caused a regression in cifs_do_create error handling. Fix this by closing a file handle in the case of a get_inode_info(_unix) error. Also remove unnecessary checks for newinode being NULL. Signed-off-by: Pavel Shilovsky Signed-off-by: Steve French --- Reading git-diff-tree failed