2002-01-30 08:07:45

by Andrey Panin

[permalink] [raw]
Subject: [PATCH] fix sys_swapon() error handling in 2.5.2-dj6


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
[email protected] | PGP key: wwwkeys.eu.pgp.net


Attachments:
patch-swapon (378.00 B)
(No filename) (232.00 B)
Download all attachments