]> git.neil.brown.name Git - history.git/commit
[PATCH] Work around devices with bogus media change indication on the first open
authorAlexander Viro <viro@parcelfarce.linux.theplanet.co.uk>
Thu, 2 Dec 2004 23:43:53 +0000 (15:43 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 2 Dec 2004 23:43:53 +0000 (15:43 -0800)
commit96408b9221fd67c20d05a9b21655850c00df476c
treec30590ba45f2fb312c4962da032c536c5ddadd62
parent877bc27505c67b9f20cfc99679e9ae11c00d2c04
[PATCH] Work around devices with bogus media change indication on the first open

What that patch does is making the first open _always_ assume that we need to
revalidate/reread partition table and kills partition-parsing in
register_disk(); instead we just have it do open/close and let the
revalidation path in open do the job.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/partitions/check.c