]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/cifs/smb1ops.c
CIFS: Make ops->close return void
[mirror_ubuntu-zesty-kernel.git] / fs / cifs / smb1ops.c
index 5fb0fe5f72b60820aee15eedd061e536aa9545bc..42dccbb57c40e46d00ee57a9c900664a5822328e 100644 (file)
@@ -720,11 +720,11 @@ cifs_set_fid(struct cifsFileInfo *cfile, struct cifs_fid *fid, __u32 oplock)
        cinode->can_cache_brlcks = cinode->clientCanCacheAll;
 }
 
-static int
+static void
 cifs_close_file(const unsigned int xid, struct cifs_tcon *tcon,
                struct cifs_fid *fid)
 {
-       return CIFSSMBClose(xid, tcon, fid->netfid);
+       CIFSSMBClose(xid, tcon, fid->netfid);
 }
 
 static int