[PATCH] fix sys_swapon() error handling in 2.5.2-dj6
From: Andrey Panin (pazke@orbita1.ru)
Date: Wed Jan 30 2002 - 03:09:28 EST
Hi all,
error path in sys_swapon() can pass negative error code to filp_close()
which generates an oops, oneliner patch attached.
Best regards.
--
Andrey Panin | Embedded systems software engineer
pazke@orbita1.ru | PGP key: wwwkeys.eu.pgp.net
- application/pgp-signature attachment: stored
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29
: Thu Jan 31 2002 - 21:01:14 EST