CIFS: fix error return code in cifs_atomic_open()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 4 Apr 2013 06:16:21 +0000 (14:16 +0800)
committerSteve French <smfrench@gmail.com>
Sun, 5 May 2013 03:18:06 +0000 (22:18 -0500)
commitefb79f289f0a7e7fbfc82f78959093bf7d1558b9
tree701e95a415f7524618784e605bbf59daacad296c
parent0124cc45113f93b52c76589dc596a026917859bb
CIFS: fix error return code in cifs_atomic_open()

Fix to return a negative error code from the error handling
case instead of 0, as returned elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/dir.c