]> git.hungrycats.org Git - linux/commit
[PATCH] USB: fix usbfs mount options ignored bug
authorDan Streetman <ddstreet@ieee.org>
Wed, 14 Jul 2004 07:47:36 +0000 (00:47 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 14 Jul 2004 07:47:36 +0000 (00:47 -0700)
commitbfc614c5aad30c7a319518728f736a26848c725e
tree18306add9df96def61b1da334a2fc5bef0476082
parent389d5b257c4146f65f31d96ffee78ed22eb69a18
[PATCH] USB: fix usbfs mount options ignored bug

Ok here is a patch to make the mount options work.  In addition to
implementing the remount function, it removes the parse_options() call
from usb_fill_super and adds a "ignore" flag around the mounting that gets
done in create_special_files.  The parse_options call in usb_fill_super is
removed because it is not needed when remount is implemented.  The
ignore_mount flag is needed because the simple_pin_fs function calls
remount with no mount options - i.e. it's not a real mount.  So the mount
options would be cleared out.  The ignore_mount flag causes the remount
function to only act on real mounts.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/usb/core/inode.c