RE: [PATCH 08/21] usb/gadget: f_mass_storage: split fsg_common initialization into a number of functions

2013-07-18 Thread Andrzej Pietrasiewicz
On Wednesday, July 17, 2013 5:44 PM Alan Stern wrote: > On Wed, 17 Jul 2013, Andrzej Pietrasiewicz wrote: > > > Hello Alan, > > Hello. > > > > > @@ -179,7 +179,7 @@ EXPORT_SYMBOL(fsg_ss_function); void > > > > fsg_lun_close(struct fsg_lun *curlun) { > > > > if (curlun->filp) { > > > >

RE: [PATCH 08/21] usb/gadget: f_mass_storage: split fsg_common initialization into a number of functions

2013-07-17 Thread Alan Stern
On Wed, 17 Jul 2013, Andrzej Pietrasiewicz wrote: > Hello Alan, Hello. > > > @@ -179,7 +179,7 @@ EXPORT_SYMBOL(fsg_ss_function); void > > > fsg_lun_close(struct fsg_lun *curlun) { > > > if (curlun->filp) { > > > - LDBG(curlun, "close backing file\n"); > > > + pr_debug("close

RE: [PATCH 08/21] usb/gadget: f_mass_storage: split fsg_common initialization into a number of functions

2013-07-17 Thread Andrzej Pietrasiewicz
Hello Alan, On Tuesday, July 16, 2013 5:17 PM Alan Stern wrote: > On Tue, 16 Jul 2013, Andrzej Pietrasiewicz wrote: > > > When configfs is in place, the things related to intialization of > > struct fsg_common will be split over a number of places. > > This patch adds several functions which toge

Re: [PATCH 08/21] usb/gadget: f_mass_storage: split fsg_common initialization into a number of functions

2013-07-16 Thread Alan Stern
On Tue, 16 Jul 2013, Andrzej Pietrasiewicz wrote: > When configfs is in place, the things related to intialization > of struct fsg_common will be split over a number of places. > This patch adds several functions which together cover the former > intialization routine fsg_common_init. As a consequ