Lines Matching refs:cancelled
754 struct close_cancelled_open *cancelled = container_of(work,
756 struct cifs_tcon *tcon = cancelled->tcon;
759 if (cancelled->mid)
761 cancelled->mid);
765 rc = SMB2_close(0, tcon, cancelled->fid.persistent_fid,
766 cancelled->fid.volatile_fid);
768 cifs_tcon_dbg(VFS, "Close cancelled mid failed rc:%d\n", rc);
771 kfree(cancelled);
786 struct close_cancelled_open *cancelled;
788 cancelled = kzalloc(sizeof(*cancelled), GFP_KERNEL);
789 if (!cancelled)
792 cancelled->fid.persistent_fid = persistent_fid;
793 cancelled->fid.volatile_fid = volatile_fid;
794 cancelled->tcon = tcon;
795 cancelled->cmd = cmd;
796 cancelled->mid = mid;
797 INIT_WORK(&cancelled->work, smb2_cancelled_close_fid);
798 WARN_ON(queue_work(cifsiod_wq, &cancelled->work) == false);