cifs: don't use GFP_KERNEL with GFP_NOFS
authorPekka Enberg <penberg@cs.helsinki.fi>
Mon, 15 Sep 2008 10:22:54 +0000 (13:22 +0300)
committerSteve French <sfrench@us.ibm.com>
Mon, 22 Sep 2008 22:23:56 +0000 (22:23 +0000)
commit232087cb734c7035c0a8947fb05d3e8092ff6c4d
tree07b789eaac28bfc26b9d9889f30a0d4e25d9dd43
parent388e57b2759672a3e3ede0d2f7e95124b417b0a3
cifs: don't use GFP_KERNEL with GFP_NOFS

GFP_KERNEL and GFP_NOFS are mutually exclusive. If you combine them, you end up
with plain GFP_KERNEL which can deadlock in cases where you really want
GFP_NOFS.

Cc: Steve French <sfrench@samba.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/misc.c
fs/cifs/transport.c