lkml.org 
[lkml]   [2003]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: usbfs mount options doesn't work in 2.6, works fine with 2.4
From
Date
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> writes:

> Greg KH <greg@kroah.com> writes:
>
> > On Mon, Dec 08, 2003 at 05:59:10AM +0100, Stian Jordet wrote:
> > > http://bugzilla.kernel.org/show_bug.cgi?id=1418
> > > and
> > > http://www.ussg.iu.edu/hypermail/linux/kernel/0307.3/0666.html
> >
> > Yeah, it's a bug. I haven't had the time to track it down yet. Any
> > help with this would be greatly appreciated.
>
> I looked driver/usb/inode.c. usbfs use get_sb_single(), but doesn't
> implement ->remount_fs(). So options can pass the only first mount.
>
> And I guess, in this case, simple_pin_fs() in create_special_files()
> did the first mount, and simple_pin_fs() pass the usbfs_fill_super()
> to NULL.
>
> I think ->remount_fs() helps this. But I'm not sure, sorry.

Ah, ->remount_fs() is not enough for already created inode, even if I
was right.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.026 / U:6.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site