Re: [PATCH 2.6.24] block2mtd: removing a device and typo fixes

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Stephane Chazelas <stephane.chazelas@...>
Cc: <linux-kernel@...>, <linux-mtd@...>
Date: Tuesday, February 12, 2008 - 11:21 am

On Tue, 12 February 2008 13:47:51 +0000, Stephane Chazelas wrote:

Fairly obvious fixes.


Sounds sane enough.  But I do have some reservations about the
implementation.  It would be best if you split the patch in two.  One
with the obvious stuff above and one for this.

The core of remove_device_by_name() is shared with block2mtd_exit(),
so a common helper would be good.  Your error handling is better, so
let's keep that version.

And independently of your patch a mutex protecting the device list from
simultaneous modifications would be good to have.

Side note: I may not have internet access until 19th or so.

Jörn

-- 
Rules of Optimization:
Rule 1: Don't do it.
Rule 2 (for experts only): Don't do it yet.
-- M.A. Jackson
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2.6.24] block2mtd: removing a device and typo fixes, Stephane Chazelas, (Tue Feb 12, 9:47 am)
Re: [PATCH 2.6.24] block2mtd: removing a device and typo fixes, Jörn, (Tue Feb 12, 11:21 am)
Re: [PATCH 2.6.24] block2mtd: removing a device and typo fixes, Stephane Chazelas, (Tue Feb 12, 12:10 pm)
Re: [PATCH 2.6.24] block2mtd: removing a device and typo fixes, Stephane Chazelas, (Wed Feb 20, 10:36 am)
Re: [PATCH 2.6.24] block2mtd: removing a device and typo fixes, Stephane Chazelas, (Wed Feb 20, 12:55 pm)
Re: [PATCH 2.6.24] block2mtd: removing a device and typo fixes, Stephane Chazelas, (Wed Feb 20, 10:43 am)
Re: [PATCH 2.6.24] block2mtd: removing a device and typo fixes, Stephane Chazelas, (Wed Feb 20, 1:02 pm)
Re: [PATCH 2.6.24] block2mtd: removing a device and typo fixes, Stephane Chazelas, (Wed Feb 20, 1:30 pm)