patch-2.0.36 linux/drivers/block/loop.c
Next file: linux/drivers/block/md.c
Previous file: linux/drivers/block/ide.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Nov 15 10:32:52 1998
- Orig file:
v2.0.35/linux/drivers/block/loop.c
- Orig date:
Tue Aug 12 13:06:54 1997
diff -u --recursive --new-file v2.0.35/linux/drivers/block/loop.c linux/drivers/block/loop.c
@@ -365,7 +365,7 @@
case LO_CRYPT_NONE:
break;
case LO_CRYPT_XOR:
- if (info.lo_encrypt_key_size < 0)
+ if (info.lo_encrypt_key_size <= 0)
return -EINVAL;
break;
#ifdef DES_AVAILABLE
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov