]> git.hungrycats.org Git - linux/commit
[PATCH] paride cleanup and fixes (7/25)
authorAlexander Viro <viro@www.linux.org.uk>
Thu, 5 Feb 2004 01:05:25 +0000 (17:05 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 5 Feb 2004 01:05:25 +0000 (17:05 -0800)
commitd01f635e16be59858def67bffe930411916de0f5
tree3f285275e42bc96c54a211fbea966400c6b47b9c
parentb2e1ca59a4234904a969aa3c1e050397bc82b69d
[PATCH] paride cleanup and fixes (7/25)

Equivalent transformation:
Handling of bogus requests taken into do_pd_io_start() - we
call next_request(0) as we would for any other error.  We
need to call pi_unclaim() before that - on other paths that
would happen as a side effect of pi_disconnect().
Setting variables moved into do_pd_io_start() - they don't
need pd_lock being held, so we can shift that outside.
drivers/block/paride/paride.c
drivers/block/paride/paride.h
drivers/block/paride/pd.c