diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-22 13:52:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-22 13:52:56 -0400 |
commit | 092e0e7e520a1fca03e13c9f2d157432a8657ff2 (patch) | |
tree | 451897252c4c08c4b5a8ef535da156f1e817e80b /drivers/usb/class | |
parent | 79f14b7c56d3b3ba58f8b43d1f70b9b71477a800 (diff) | |
parent | 776c163b1b93c8dfa5edba885bc2bfbc2d228a5f (diff) |
Merge branch 'llseek' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl
* 'llseek' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl:
vfs: make no_llseek the default
vfs: don't use BKL in default_llseek
llseek: automatically add .llseek fop
libfs: use generic_file_llseek for simple_attr
mac80211: disallow seeks in minstrel debug code
lirc: make chardev nonseekable
viotape: use noop_llseek
raw: use explicit llseek file operations
ibmasmfs: use generic_file_llseek
spufs: use llseek in all file operations
arm/omap: use generic_file_llseek in iommu_debug
lkdtm: use generic_file_llseek in debugfs
net/wireless: use generic_file_llseek in debugfs
drm: use noop_llseek
Diffstat (limited to 'drivers/usb/class')
-rw-r--r-- | drivers/usb/class/cdc-wdm.c | 3 | ||||
-rw-r--r-- | drivers/usb/class/usblp.c | 1 | ||||
-rw-r--r-- | drivers/usb/class/usbtmc.c | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/drivers/usb/class/cdc-wdm.c b/drivers/usb/class/cdc-wdm.c index 094c76b5de17..6ee4451bfe2d 100644 --- a/drivers/usb/class/cdc-wdm.c +++ b/drivers/usb/class/cdc-wdm.c | |||
@@ -584,7 +584,8 @@ static const struct file_operations wdm_fops = { | |||
584 | .open = wdm_open, | 584 | .open = wdm_open, |
585 | .flush = wdm_flush, | 585 | .flush = wdm_flush, |
586 | .release = wdm_release, | 586 | .release = wdm_release, |
587 | .poll = wdm_poll | 587 | .poll = wdm_poll, |
588 | .llseek = noop_llseek, | ||
588 | }; | 589 | }; |
589 | 590 | ||
590 | static struct usb_class_driver wdm_class = { | 591 | static struct usb_class_driver wdm_class = { |
diff --git a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c index e325162859b0..9eca4053312e 100644 --- a/drivers/usb/class/usblp.c +++ b/drivers/usb/class/usblp.c | |||
@@ -1043,6 +1043,7 @@ static const struct file_operations usblp_fops = { | |||
1043 | .compat_ioctl = usblp_ioctl, | 1043 | .compat_ioctl = usblp_ioctl, |
1044 | .open = usblp_open, | 1044 | .open = usblp_open, |
1045 | .release = usblp_release, | 1045 | .release = usblp_release, |
1046 | .llseek = noop_llseek, | ||
1046 | }; | 1047 | }; |
1047 | 1048 | ||
1048 | static char *usblp_devnode(struct device *dev, mode_t *mode) | 1049 | static char *usblp_devnode(struct device *dev, mode_t *mode) |
diff --git a/drivers/usb/class/usbtmc.c b/drivers/usb/class/usbtmc.c index 3e7c1b800ebb..6a54634ab823 100644 --- a/drivers/usb/class/usbtmc.c +++ b/drivers/usb/class/usbtmc.c | |||
@@ -987,6 +987,7 @@ static const struct file_operations fops = { | |||
987 | .open = usbtmc_open, | 987 | .open = usbtmc_open, |
988 | .release = usbtmc_release, | 988 | .release = usbtmc_release, |
989 | .unlocked_ioctl = usbtmc_ioctl, | 989 | .unlocked_ioctl = usbtmc_ioctl, |
990 | .llseek = default_llseek, | ||
990 | }; | 991 | }; |
991 | 992 | ||
992 | static struct usb_class_driver usbtmc_class = { | 993 | static struct usb_class_driver usbtmc_class = { |