ocfs2: Fix use after free on remount read-only
authorJan Kara <jack@suse.cz>
Thu, 13 May 2010 20:14:53 +0000 (22:14 +0200)
committerJan Kara <jack@suse.cz>
Mon, 24 May 2010 12:06:39 +0000 (14:06 +0200)
commiteea7feb072f5914ecafa95b3d83be0c229244d90
treec9179933bd14f11f883448bd133876f907c3f50c
parentf4b87dee923342505e1ddba8d34ce9de33e75050
ocfs2: Fix use after free on remount read-only

We also have to cancel quota syncing thread on remount read only because
at that moment quota is being turned off. Otherwise quota syncing thread
will try to access already freed quota structures.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/ocfs2/super.c