public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* dead code: EXT3_IOC_WAIT_FOR_READONLY?
@ 2007-03-16 11:16 Vasily Averin
  2007-03-16 12:03 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Vasily Averin @ 2007-03-16 11:16 UTC (permalink / raw)
  To: linux-ext4, Andrew Morton, Stephen Tweedie, Andreas Dilger, devel

Hi all,

I've found some strange ext3 ioctl under CONFIG_JBD_DEBUG:
EXT3_IOC_WAIT_FOR_READONLY.

I had DEBUG_SPINLOCK enabled and my kernel was crashed on wait-for-readonly.c
test from ext3-tools because ioctl handler tries to use uninitialized
EXT3_SB(sb)->ro_wait_queue and waits EXT3_SB(sb)->turn_ro_timer that nobody uses
in kernel.

I do not understand the function of this ioctl and believe this code is dead
long time ago. From my POV it makes sense to remove it from kernel instead of
fixing it. Has somebody any objections?

Thank you,
	Vasily Averin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-16 12:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-16 11:16 dead code: EXT3_IOC_WAIT_FOR_READONLY? Vasily Averin
2007-03-16 12:03 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox