Prev: usb: gadget: storage: remove nofua file when unbinding
Next: [PATCH] MD: raid1, fix BUG caused by flags handling
From: Andy Shevchenko on 12 Aug 2010 07:40 On Mon, Aug 9, 2010 at 6:02 PM, Michal Nazarewicz <m.nazarewicz(a)samsung.com> 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(a)samsung.com> > Cc: Andy Shevchenko <ext-andriy.shevchenko(a)nokia.com> > + 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(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |