From: Michal Nazarewicz Date: Thu, 12 Aug 2010 15:43:50 +0000 (+0200) Subject: usb: gadget: storage: remove nofua file when unbinding X-Git-Tag: v2.6.37-rc1~154^2~128 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=452ee0eb10bd3581cf667a1db18cb684889ce446;p=pandora-kernel.git usb: gadget: storage: remove nofua file when unbinding The dev_attr_nofua file was created during fsg_bind() but was never removed. Made it a bit more symmetrical and added code to remove the file in fsg_unbind(). Signed-off-by: Michal Nazarewicz Acked-by: Andy Shevchenko Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed