SMB3: Close deferred file handles in case of handle lease break
[linux-2.6-microblaze.git] / fs / cifs / misc.c
index f76e9bb..cd914be 100644 (file)
@@ -764,7 +764,7 @@ cifs_close_deferred_file(struct cifsInodeInfo *cifs_inode)
        spin_unlock(&cifs_inode->open_file_lock);
 
        list_for_each_entry_safe(tmp_list, tmp_next_list, &file_head, list) {
-               _cifsFileInfo_put(tmp_list->cfile, true, false);
+               _cifsFileInfo_put(tmp_list->cfile, false, false);
                list_del(&tmp_list->list);
                kfree(tmp_list);
        }