[PATCH] Fix possible oops on quotaoff
From: Jan Kara (jack_at_suse.cz)
Date: 03/31/05
- Previous message: Mariusz Mazur: "Re: linux-libc-headers scsi headers vs libc scsi headers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 31 Mar 2005 14:32:53 +0200 To: akpm@osdl.org
Hi!
Attached one-liner should fix possible Oops on quotaoff - the code
does not expect quotafiles to have any dquots initialized but they
actually could have some in the following scenario:
turn on one quota type
write to the file with the other quota type (quota gets initialize)
turn on the other quota type
Please apply the fix (it should apply well to any recent kernel)
Honza
-- Jan Kara <jack@suse.cz> SuSE CR Labs
-
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/
- text/plain attachment: quota-2.6.11-dropfix.diff
- Previous message: Mariusz Mazur: "Re: linux-libc-headers scsi headers vs libc scsi headers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]