On Fri, Nov 21, 2014 at 2:32 PM, Toralf Förster <toralf.foers...@gmx.de> wrote: > diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c > index e8ab93c..22390f9 100644 > --- a/arch/um/drivers/ubd_kern.c > +++ b/arch/um/drivers/ubd_kern.c > @@ -508,19 +508,25 @@ static inline int ubd_file_size(struct ubd *ubd_dev, > __u64 *size_out) > int sector_size; > int bitmap_offset; > > +printk(KERN_INFO "ubd_file_size 0"); > if (ubd_dev->file && ubd_dev->cow.file) { > file = ubd_dev->cow.file; > +printk(KERN_INFO "ubd_file_size 1"); > > goto out; > } > > fd = os_open_file(ubd_dev->file, of_read(OPENFLAGS()), 0); > +printk(KERN_INFO "ubd_file_size 2"); > if (fd < 0) > return fd; > +printk(KERN_INFO "ubd_file_size 3");
Not really on-topic, but it's faster to add lines like pr_info("%s:%u\n", __func__, __LINE__); They're identical (i.e. copy-'n-paste), but give unique output depending on context. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel