]> git.baikalelectronics.ru Git - kernel.git/commit
block: fix mismerge of the DISK_EVENT_MEDIA_CHANGE removal
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Jun 2011 20:29:19 +0000 (05:29 +0900)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Jun 2011 20:29:19 +0000 (05:29 +0900)
commit2eca3433948dba67b63b9b3859e9d178a3fdfcee
tree39745ab1858bb308f3b101f5ae555f08485bb7ea
parentcb59dd2107c8639155c14fda114dcad10b44e8ea
block: fix mismerge of the DISK_EVENT_MEDIA_CHANGE removal

Jens' back-merge commit 462d03b405bc ("Merge commit 'v2.6.39' into
for-2.6.40/core") was incorrectly done, and re-introduced the
DISK_EVENT_MEDIA_CHANGE lines that had been removed earlier in commits

 - 9fe43804b448 ("block: unexport DISK_EVENT_MEDIA_CHANGE for
   legacy/fringe drivers")

 - 5becfd980661 ("ide: unexport DISK_EVENT_MEDIA_CHANGE for ide-gd
   and ide-cd")

because of conflicts with the "g->flags" updates near-by by commit
ccee13eb26cb ("block: don't block events on excl write for non-optical
devices")

As a result, we re-introduced the hanging behavior due to infinite disk
media change reports.

Tssk, tssk, people! Don't do back-merges at all, and *definitely* don't
do them to hide merge conflicts from me - especially as I'm likely
better at merging them than you are, since I do so many merges.

Reported-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Jens Axboe <jaxboe@fusionio.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/paride/pcd.c
drivers/cdrom/viocd.c
drivers/ide/ide-cd.c