diff options
author | Pavel Shilovsky <piastry@etersoft.ru> | 2012-09-25 11:00:07 +0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-26 22:05:10 -0500 |
commit | 760ad0cac198356c1148cad7531c1a6138322493 (patch) | |
tree | b103ce42e18718683a2edecb988e1c40439c3f28 /fs/cifs/file.c | |
parent | 4f2b86aba87a2654a1258ffe09c22ce70ab69d60 (diff) |
CIFS: Make ops->close return void
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r-- | fs/cifs/file.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index 075f7cfd1da..7d7bbdc4c8e 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c @@ -355,12 +355,11 @@ void cifsFileInfo_put(struct cifsFileInfo *cifs_file) if (!tcon->need_reconnect && !cifs_file->invalidHandle) { struct TCP_Server_Info *server = tcon->ses->server; unsigned int xid; - int rc = -ENOSYS; xid = get_xid(); if (server->ops->close) - rc = server->ops->close(xid, tcon, &cifs_file->fid); - free_xid(xid); + server->ops->close(xid, tcon, &cifs_file->fid); + _free_xid(xid); } cifs_del_pending_open(&open); |