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/acpi | |
| 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/acpi')
| -rw-r--r-- | drivers/acpi/apei/erst-dbg.c | 1 | ||||
| -rw-r--r-- | drivers/acpi/debugfs.c | 1 | ||||
| -rw-r--r-- | drivers/acpi/ec_sys.c | 1 | ||||
| -rw-r--r-- | drivers/acpi/event.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/apei/erst-dbg.c b/drivers/acpi/apei/erst-dbg.c index da1228a9a544..de73caf3cebc 100644 --- a/drivers/acpi/apei/erst-dbg.c +++ b/drivers/acpi/apei/erst-dbg.c | |||
| @@ -184,6 +184,7 @@ static const struct file_operations erst_dbg_ops = { | |||
| 184 | .read = erst_dbg_read, | 184 | .read = erst_dbg_read, |
| 185 | .write = erst_dbg_write, | 185 | .write = erst_dbg_write, |
| 186 | .unlocked_ioctl = erst_dbg_ioctl, | 186 | .unlocked_ioctl = erst_dbg_ioctl, |
| 187 | .llseek = no_llseek, | ||
| 187 | }; | 188 | }; |
| 188 | 189 | ||
| 189 | static struct miscdevice erst_dbg_dev = { | 190 | static struct miscdevice erst_dbg_dev = { |
diff --git a/drivers/acpi/debugfs.c b/drivers/acpi/debugfs.c index 7de27d49c4b9..6355b575ee5a 100644 --- a/drivers/acpi/debugfs.c +++ b/drivers/acpi/debugfs.c | |||
| @@ -69,6 +69,7 @@ static ssize_t cm_write(struct file *file, const char __user * user_buf, | |||
| 69 | 69 | ||
| 70 | static const struct file_operations cm_fops = { | 70 | static const struct file_operations cm_fops = { |
| 71 | .write = cm_write, | 71 | .write = cm_write, |
| 72 | .llseek = default_llseek, | ||
| 72 | }; | 73 | }; |
| 73 | 74 | ||
| 74 | int __init acpi_debugfs_init(void) | 75 | int __init acpi_debugfs_init(void) |
diff --git a/drivers/acpi/ec_sys.c b/drivers/acpi/ec_sys.c index 0e869b3f81ca..411620ef84c2 100644 --- a/drivers/acpi/ec_sys.c +++ b/drivers/acpi/ec_sys.c | |||
| @@ -101,6 +101,7 @@ static struct file_operations acpi_ec_io_ops = { | |||
| 101 | .open = acpi_ec_open_io, | 101 | .open = acpi_ec_open_io, |
| 102 | .read = acpi_ec_read_io, | 102 | .read = acpi_ec_read_io, |
| 103 | .write = acpi_ec_write_io, | 103 | .write = acpi_ec_write_io, |
| 104 | .llseek = default_llseek, | ||
| 104 | }; | 105 | }; |
| 105 | 106 | ||
| 106 | int acpi_ec_add_debugfs(struct acpi_ec *ec, unsigned int ec_device_count) | 107 | int acpi_ec_add_debugfs(struct acpi_ec *ec, unsigned int ec_device_count) |
diff --git a/drivers/acpi/event.c b/drivers/acpi/event.c index d439314a75d8..85d908993809 100644 --- a/drivers/acpi/event.c +++ b/drivers/acpi/event.c | |||
| @@ -110,6 +110,7 @@ static const struct file_operations acpi_system_event_ops = { | |||
| 110 | .read = acpi_system_read_event, | 110 | .read = acpi_system_read_event, |
| 111 | .release = acpi_system_close_event, | 111 | .release = acpi_system_close_event, |
| 112 | .poll = acpi_system_poll_event, | 112 | .poll = acpi_system_poll_event, |
| 113 | .llseek = default_llseek, | ||
| 113 | }; | 114 | }; |
| 114 | #endif /* CONFIG_ACPI_PROC_EVENT */ | 115 | #endif /* CONFIG_ACPI_PROC_EVENT */ |
| 115 | 116 | ||
