Skip to content

Commit 092e0e7

Browse files
committed
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
2 parents 79f14b7 + 776c163 commit 092e0e7

370 files changed

Lines changed: 601 additions & 77 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/DocBook/drm.tmpl‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@
136136
#ifdef CONFIG_COMPAT
137137
.compat_ioctl = i915_compat_ioctl,
138138
#endif
139+
.llseek = noop_llseek,
139140
},
140141
.pci_driver = {
141142
.name = DRIVER_NAME,

‎arch/arm/kernel/etm.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ static const struct file_operations etb_fops = {
329329
.read = etb_read,
330330
.open = etb_open,
331331
.release = etb_release,
332+
.llseek = no_llseek,
332333
};
333334

334335
static struct miscdevice etb_miscdev = {

‎arch/arm/mach-msm/last_radio_log.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ static ssize_t last_radio_log_read(struct file *file, char __user *buf,
4848
}
4949

5050
static struct file_operations last_radio_log_fops = {
51-
.read = last_radio_log_read
51+
.read = last_radio_log_read,
52+
.llseek = default_llseek,
5253
};
5354

5455
void msm_init_last_radio_log(struct module *owner)

‎arch/arm/mach-msm/smd_debug.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ static int debug_open(struct inode *inode, struct file *file)
212212
static const struct file_operations debug_ops = {
213213
.read = debug_read,
214214
.open = debug_open,
215+
.llseek = default_llseek,
215216
};
216217

217218
static void debug_create(const char *name, mode_t mode,

‎arch/arm/plat-mxc/audmux-v2.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ static ssize_t audmux_read_file(struct file *file, char __user *user_buf,
137137
static const struct file_operations audmux_debugfs_fops = {
138138
.open = audmux_open_file,
139139
.read = audmux_read_file,
140+
.llseek = default_llseek,
140141
};
141142

142143
static void audmux_debugfs_init(void)

‎arch/arm/plat-omap/iommu-debug.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,12 +328,14 @@ static int debug_open_generic(struct inode *inode, struct file *file)
328328
.open = debug_open_generic, \
329329
.read = debug_read_##name, \
330330
.write = debug_write_##name, \
331+
.llseek = generic_file_llseek, \
331332
};
332333

333334
#define DEBUG_FOPS_RO(name) \
334335
static const struct file_operations debug_##name##_fops = { \
335336
.open = debug_open_generic, \
336337
.read = debug_read_##name, \
338+
.llseek = generic_file_llseek, \
337339
};
338340

339341
DEBUG_FOPS_RO(ver);

‎arch/avr32/boards/mimc200/fram.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ static int fram_mmap(struct file *filp, struct vm_area_struct *vma)
4141
static const struct file_operations fram_fops = {
4242
.owner = THIS_MODULE,
4343
.mmap = fram_mmap,
44+
.llseek = noop_llseek,
4445
};
4546

4647
#define FRAM_MINOR 0

‎arch/blackfin/kernel/kgdb_test.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ static const struct file_operations kgdb_test_proc_fops = {
8888
.owner = THIS_MODULE,
8989
.read = kgdb_test_proc_read,
9090
.write = kgdb_test_proc_write,
91+
.llseek = noop_llseek,
9192
};
9293

9394
static int __init kgdbtest_init(void)

‎arch/blackfin/mach-bf561/coreb.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ coreb_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
5151
static const struct file_operations coreb_fops = {
5252
.owner = THIS_MODULE,
5353
.unlocked_ioctl = coreb_ioctl,
54+
.llseek = noop_llseek,
5455
};
5556

5657
static struct miscdevice coreb_dev = {

‎arch/cris/arch-v10/drivers/ds1302.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ print_rtc_status(void)
388388
static const struct file_operations rtc_fops = {
389389
.owner = THIS_MODULE,
390390
.unlocked_ioctl = rtc_unlocked_ioctl,
391+
.llseek = noop_llseek,
391392
};
392393

393394
/* Probe for the chip by writing something to its RAM and try reading it back. */

0 commit comments

Comments
 (0)