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 /arch/arm | |
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 'arch/arm')
-rw-r--r-- | arch/arm/kernel/etm.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-msm/last_radio_log.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-msm/smd_debug.c | 1 | ||||
-rw-r--r-- | arch/arm/plat-mxc/audmux-v2.c | 1 | ||||
-rw-r--r-- | arch/arm/plat-omap/iommu-debug.c | 2 |
5 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/kernel/etm.c b/arch/arm/kernel/etm.c index a48d51257988..11db62806a1a 100644 --- a/arch/arm/kernel/etm.c +++ b/arch/arm/kernel/etm.c | |||
@@ -329,6 +329,7 @@ static const struct file_operations etb_fops = { | |||
329 | .read = etb_read, | 329 | .read = etb_read, |
330 | .open = etb_open, | 330 | .open = etb_open, |
331 | .release = etb_release, | 331 | .release = etb_release, |
332 | .llseek = no_llseek, | ||
332 | }; | 333 | }; |
333 | 334 | ||
334 | static struct miscdevice etb_miscdev = { | 335 | static struct miscdevice etb_miscdev = { |
diff --git a/arch/arm/mach-msm/last_radio_log.c b/arch/arm/mach-msm/last_radio_log.c index b64ba5a98686..1e243f46a969 100644 --- a/arch/arm/mach-msm/last_radio_log.c +++ b/arch/arm/mach-msm/last_radio_log.c | |||
@@ -48,7 +48,8 @@ static ssize_t last_radio_log_read(struct file *file, char __user *buf, | |||
48 | } | 48 | } |
49 | 49 | ||
50 | static struct file_operations last_radio_log_fops = { | 50 | static struct file_operations last_radio_log_fops = { |
51 | .read = last_radio_log_read | 51 | .read = last_radio_log_read, |
52 | .llseek = default_llseek, | ||
52 | }; | 53 | }; |
53 | 54 | ||
54 | void msm_init_last_radio_log(struct module *owner) | 55 | void msm_init_last_radio_log(struct module *owner) |
diff --git a/arch/arm/mach-msm/smd_debug.c b/arch/arm/mach-msm/smd_debug.c index 3b2dd717b788..f91c3b7bc655 100644 --- a/arch/arm/mach-msm/smd_debug.c +++ b/arch/arm/mach-msm/smd_debug.c | |||
@@ -212,6 +212,7 @@ static int debug_open(struct inode *inode, struct file *file) | |||
212 | static const struct file_operations debug_ops = { | 212 | static const struct file_operations debug_ops = { |
213 | .read = debug_read, | 213 | .read = debug_read, |
214 | .open = debug_open, | 214 | .open = debug_open, |
215 | .llseek = default_llseek, | ||
215 | }; | 216 | }; |
216 | 217 | ||
217 | static void debug_create(const char *name, mode_t mode, | 218 | static void debug_create(const char *name, mode_t mode, |
diff --git a/arch/arm/plat-mxc/audmux-v2.c b/arch/arm/plat-mxc/audmux-v2.c index 62920490c0d6..0be1ac7f421b 100644 --- a/arch/arm/plat-mxc/audmux-v2.c +++ b/arch/arm/plat-mxc/audmux-v2.c | |||
@@ -137,6 +137,7 @@ static ssize_t audmux_read_file(struct file *file, char __user *user_buf, | |||
137 | static const struct file_operations audmux_debugfs_fops = { | 137 | static const struct file_operations audmux_debugfs_fops = { |
138 | .open = audmux_open_file, | 138 | .open = audmux_open_file, |
139 | .read = audmux_read_file, | 139 | .read = audmux_read_file, |
140 | .llseek = default_llseek, | ||
140 | }; | 141 | }; |
141 | 142 | ||
142 | static void audmux_debugfs_init(void) | 143 | static void audmux_debugfs_init(void) |
diff --git a/arch/arm/plat-omap/iommu-debug.c b/arch/arm/plat-omap/iommu-debug.c index e6c0d536899c..f07cf2f08e09 100644 --- a/arch/arm/plat-omap/iommu-debug.c +++ b/arch/arm/plat-omap/iommu-debug.c | |||
@@ -328,12 +328,14 @@ static int debug_open_generic(struct inode *inode, struct file *file) | |||
328 | .open = debug_open_generic, \ | 328 | .open = debug_open_generic, \ |
329 | .read = debug_read_##name, \ | 329 | .read = debug_read_##name, \ |
330 | .write = debug_write_##name, \ | 330 | .write = debug_write_##name, \ |
331 | .llseek = generic_file_llseek, \ | ||
331 | }; | 332 | }; |
332 | 333 | ||
333 | #define DEBUG_FOPS_RO(name) \ | 334 | #define DEBUG_FOPS_RO(name) \ |
334 | static const struct file_operations debug_##name##_fops = { \ | 335 | static const struct file_operations debug_##name##_fops = { \ |
335 | .open = debug_open_generic, \ | 336 | .open = debug_open_generic, \ |
336 | .read = debug_read_##name, \ | 337 | .read = debug_read_##name, \ |
338 | .llseek = generic_file_llseek, \ | ||
337 | }; | 339 | }; |
338 | 340 | ||
339 | DEBUG_FOPS_RO(ver); | 341 | DEBUG_FOPS_RO(ver); |