X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fportals%2Finclude%2Flinux%2Fkp30.h;h=12d9f56d3bfc935162aab492311f24dda0ab0125;hp=63eaee76295cc109af679e8bf9d4d33bf537d1a2;hb=ca9d5995c11b8ab607780fc24ff1541f39f2834a;hpb=3d190eec8dcfab9672dd218bcc09adb82bc98d1f diff --git a/lustre/portals/include/linux/kp30.h b/lustre/portals/include/linux/kp30.h index 63eaee7..12d9f56 100644 --- a/lustre/portals/include/linux/kp30.h +++ b/lustre/portals/include/linux/kp30.h @@ -282,9 +282,8 @@ do { \ #define PORTAL_ALLOC_GFP(ptr, size, mask) \ do { \ - LASSERT (!in_interrupt() || \ - (size <= PORTAL_VMALLOC_SIZE && \ - (mask & __GFP_WAIT) == 0)); \ + LASSERT(!in_interrupt() || \ + (size <= PORTAL_VMALLOC_SIZE && mask == GFP_ATOMIC)); \ if ((size) > PORTAL_VMALLOC_SIZE) \ (ptr) = vmalloc(size); \ else \