2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/drivers/usb/core
Dave Hansen 9a53c3a783 [PATCH] r/o bind mounts: unlink: monitor i_nlink
When a filesystem decrements i_nlink to zero, it means that a write must be
performed in order to drop the inode from the filesystem.

We're shortly going to have keep filesystems from being remounted r/o between
the time that this i_nlink decrement and that write occurs.

So, add a little helper function to do the decrements.  We'll tie into it in a
bit to note when i_nlink hits zero.

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Acked-by: Christoph Hellwig <hch@lst.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-01 00:39:30 -07:00
..
buffer.c usbcore: trim down usb_bus structure 2006-09-27 11:58:56 -07:00
config.c usb: deal with broken config descriptors 2006-09-27 11:58:55 -07:00
devices.c USB: Remove unneeded void * casts in core files 2006-09-27 11:58:59 -07:00
devio.c USB: Remove unneeded void * casts in core files 2006-09-27 11:58:59 -07:00
driver.c USB: fix autosuspend when CONFIG_PM isn't set 2006-09-28 15:36:46 -07:00
endpoint.c USB: fix __must_check warnings in drivers/usb/core/ 2006-09-27 11:58:57 -07:00
file.c USB: Make file operations structs in drivers/usb const. 2006-09-27 11:58:52 -07:00
generic.c usbcore: non-hub-specific uses of autosuspend 2006-09-27 11:58:57 -07:00
hcd-pci.c USB: Properly unregister reboot notifier in case of failure in ehci hcd 2006-09-27 11:58:54 -07:00
hcd.c USB: allow both root-hub interrupts and polling 2006-09-28 15:36:45 -07:00
hcd.h usbcore: remove usb_suspend_root_hub 2006-09-27 11:58:57 -07:00
hub.c USB: fix autosuspend when CONFIG_PM isn't set 2006-09-28 15:36:46 -07:00
hub.h usbcore: khubd and busy-port handling 2006-09-27 11:58:54 -07:00
inode.c [PATCH] r/o bind mounts: unlink: monitor i_nlink 2006-10-01 00:39:30 -07:00
Kconfig [PATCH] USB: remove devfs information from Kconfig 2006-07-12 16:03:23 -07:00
Makefile usbcore: move code among source files 2006-09-27 11:58:50 -07:00
message.c USB: Remove unneeded void * casts in core files 2006-09-27 11:58:59 -07:00
notify.c usbfs: private mutex for open, release, and remove 2006-09-27 11:58:49 -07:00
otg_whitelist.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysfs.c USB: fix __must_check warnings in drivers/usb/core/ 2006-09-27 11:58:57 -07:00
urb.c USB: Remove unneeded void * casts in core files 2006-09-27 11:58:59 -07:00
usb.c USB: fix autosuspend when CONFIG_PM isn't set 2006-09-28 15:36:46 -07:00
usb.h USB: fix autosuspend when CONFIG_PM isn't set 2006-09-28 15:36:46 -07:00