cifs: Fix bug when checking error condition in cifs_rename_pending_delete()
authorSachin Prabhu <sprabhu@redhat.com>
Tue, 5 Mar 2013 19:25:55 +0000 (19:25 +0000)
committerSteve French <sfrench@us.ibm.com>
Thu, 7 Mar 2013 00:28:35 +0000 (18:28 -0600)
commit72d282dc5109e5dc0d963be020604e0cc82f7ed7
tree6f59f8b91ae28efd5496bee9b2190cb9f8e86345
parent9f225788cc047fb7c2ef2326eb4f86dee890e2ef
cifs: Fix bug when checking error condition in cifs_rename_pending_delete()

Fix check for error condition after setting attributes with
CIFSSMBSetFileInfo().

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/inode.c