Re: [PATCHv7 8/8] usb: gadget: mass_storage: optional SCSI WRITE FUA bit

From: Andy Shevchenko
Date: Thu Aug 12 2010 - 07:33:49 EST


On Mon, Aug 9, 2010 at 6:02 PM, Michal Nazarewicz
<m.nazarewicz@xxxxxxxxxxx> wrote:
> The nofua parameter (optionally ignore SCSI WRITE FUA) was added
> to the File Storage Gadget some time ago. ÂThis patch adds the
> same functionality to the Mass Storage Function.
>
> Signed-off-by: Michal Nazarewicz <m.nazarewicz@xxxxxxxxxxx>
> Cc: Andy Shevchenko <ext-andriy.shevchenko@xxxxxxxxx>
> + Â Â Â Â Â Â Â rc = device_create_file(&curlun->dev, &dev_attr_nofua);
> + Â Â Â Â Â Â Â if (rc)
> + Â Â Â Â Â Â Â Â Â Â Â goto error_luns;
It has the same issue as my original patch - forgot to remove device node.

--
With Best Regards,
Andy Shevchenko
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/