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/host/ehci-dbg.c | |
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/host/ehci-dbg.c')
-rw-r--r-- | drivers/usb/host/ehci-dbg.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-dbg.c b/drivers/usb/host/ehci-dbg.c index 76b7fd2d838a..86afdc73322f 100644 --- a/drivers/usb/host/ehci-dbg.c +++ b/drivers/usb/host/ehci-dbg.c | |||
@@ -369,18 +369,21 @@ static const struct file_operations debug_async_fops = { | |||
369 | .open = debug_async_open, | 369 | .open = debug_async_open, |
370 | .read = debug_output, | 370 | .read = debug_output, |
371 | .release = debug_close, | 371 | .release = debug_close, |
372 | .llseek = default_llseek, | ||
372 | }; | 373 | }; |
373 | static const struct file_operations debug_periodic_fops = { | 374 | static const struct file_operations debug_periodic_fops = { |
374 | .owner = THIS_MODULE, | 375 | .owner = THIS_MODULE, |
375 | .open = debug_periodic_open, | 376 | .open = debug_periodic_open, |
376 | .read = debug_output, | 377 | .read = debug_output, |
377 | .release = debug_close, | 378 | .release = debug_close, |
379 | .llseek = default_llseek, | ||
378 | }; | 380 | }; |
379 | static const struct file_operations debug_registers_fops = { | 381 | static const struct file_operations debug_registers_fops = { |
380 | .owner = THIS_MODULE, | 382 | .owner = THIS_MODULE, |
381 | .open = debug_registers_open, | 383 | .open = debug_registers_open, |
382 | .read = debug_output, | 384 | .read = debug_output, |
383 | .release = debug_close, | 385 | .release = debug_close, |
386 | .llseek = default_llseek, | ||
384 | }; | 387 | }; |
385 | static const struct file_operations debug_lpm_fops = { | 388 | static const struct file_operations debug_lpm_fops = { |
386 | .owner = THIS_MODULE, | 389 | .owner = THIS_MODULE, |
@@ -388,6 +391,7 @@ static const struct file_operations debug_lpm_fops = { | |||
388 | .read = debug_lpm_read, | 391 | .read = debug_lpm_read, |
389 | .write = debug_lpm_write, | 392 | .write = debug_lpm_write, |
390 | .release = debug_lpm_close, | 393 | .release = debug_lpm_close, |
394 | .llseek = noop_llseek, | ||
391 | }; | 395 | }; |
392 | 396 | ||
393 | static struct dentry *ehci_debug_root; | 397 | static struct dentry *ehci_debug_root; |