diff --git a/fs/cifs/smb2misc.c b/fs/cifs/smb2misc.c index 0516fc482d436b2f1c1bcff5c1cf75e15e8c1f48..0511aaf451d49900c3ec4e921d04490657724ae7 100644 --- a/fs/cifs/smb2misc.c +++ b/fs/cifs/smb2misc.c @@ -743,7 +743,7 @@ __smb2_handle_cancelled_cmd(struct cifs_tcon *tcon, __u16 cmd, __u64 mid, { struct close_cancelled_open *cancelled; - cancelled = kzalloc(sizeof(*cancelled), GFP_KERNEL); + cancelled = kzalloc(sizeof(*cancelled), GFP_ATOMIC); if (!cancelled) return -ENOMEM;