commit | ea7b4887e7266b93fa0c203cc452a926a0fef4f0 | [log] [tgz] |
---|---|---|
author | Pavel Shilovsky <pshilovsky@samba.org> | Fri Aug 17 18:02:19 2012 +0400 |
committer | Steve French <smfrench@gmail.com> | Sun Aug 19 22:30:18 2012 -0500 |
tree | 35a3b63e844b403077db71cdc374b53297ec2e02 | |
parent | 985e4ff016b5f3d95c12fe8073d1df89300dab3d [diff] |
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 <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com>