Re: [PATCH] proper replacements for ->proc_info

Christoph Hellwig
2003-04-25T10:47:11Z

On Fri, Apr 25, 2003 at 11:41:37AM +0100, viro@parcelfarce.linux.theplanet.co.uk wrote:
> On Fri, Apr 25, 2003 at 12:27:54PM +0200, Christoph Hellwig wrote:
>
> > + list_for_each_entry(sdev, &host->my_devices, siblings) {
> > + seq_printf(s, " %2d:%2d %4d %4d\n",
> > + sdev->id, sdev->lun,
> > + NCR_700_get_depth(sdev),
> > + sdev->current_tag);
>
> And that loop is protected by ...?

The right lock would be sdev->list_lock.