mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 06:04:23 +08:00
llseek: automatically add .llseek fop
All file_operations should get a .llseek operation so we can make nonseekable_open the default for future file operations without a .llseek pointer. The three cases that we can automatically detect are no_llseek, seq_lseek and default_llseek. For cases where we can we can automatically prove that the file offset is always ignored, we use noop_llseek, which maintains the current behavior of not returning an error from a seek. New drivers should normally not use noop_llseek but instead use no_llseek and call nonseekable_open at open time. Existing drivers can be converted to do the same when the maintainer knows for certain that no user code relies on calling seek on the device file. The generated code is often incorrectly indented and right now contains comments that clarify for each added line why a specific variant was chosen. In the version that gets submitted upstream, the comments will be gone and I will manually fix the indentation, because there does not seem to be a way to do that using coccinelle. Some amount of new code is currently sitting in linux-next that should get the same modifications, which I will do at the end of the merge window. Many thanks to Julia Lawall for helping me learn to write a semantic patch that does all this. ===== begin semantic patch ===== // This adds an llseek= method to all file operations, // as a preparation for making no_llseek the default. // // The rules are // - use no_llseek explicitly if we do nonseekable_open // - use seq_lseek for sequential files // - use default_llseek if we know we access f_pos // - use noop_llseek if we know we don't access f_pos, // but we still want to allow users to call lseek // @ open1 exists @ identifier nested_open; @@ nested_open(...) { <+... nonseekable_open(...) ...+> } @ open exists@ identifier open_f; identifier i, f; identifier open1.nested_open; @@ int open_f(struct inode *i, struct file *f) { <+... ( nonseekable_open(...) | nested_open(...) ) ...+> } @ read disable optional_qualifier exists @ identifier read_f; identifier f, p, s, off; type ssize_t, size_t, loff_t; expression E; identifier func; @@ ssize_t read_f(struct file *f, char *p, size_t s, loff_t *off) { <+... ( *off = E | *off += E | func(..., off, ...) | E = *off ) ...+> } @ read_no_fpos disable optional_qualifier exists @ identifier read_f; identifier f, p, s, off; type ssize_t, size_t, loff_t; @@ ssize_t read_f(struct file *f, char *p, size_t s, loff_t *off) { ... when != off } @ write @ identifier write_f; identifier f, p, s, off; type ssize_t, size_t, loff_t; expression E; identifier func; @@ ssize_t write_f(struct file *f, const char *p, size_t s, loff_t *off) { <+... ( *off = E | *off += E | func(..., off, ...) | E = *off ) ...+> } @ write_no_fpos @ identifier write_f; identifier f, p, s, off; type ssize_t, size_t, loff_t; @@ ssize_t write_f(struct file *f, const char *p, size_t s, loff_t *off) { ... when != off } @ fops0 @ identifier fops; @@ struct file_operations fops = { ... }; @ has_llseek depends on fops0 @ identifier fops0.fops; identifier llseek_f; @@ struct file_operations fops = { ... .llseek = llseek_f, ... }; @ has_read depends on fops0 @ identifier fops0.fops; identifier read_f; @@ struct file_operations fops = { ... .read = read_f, ... }; @ has_write depends on fops0 @ identifier fops0.fops; identifier write_f; @@ struct file_operations fops = { ... .write = write_f, ... }; @ has_open depends on fops0 @ identifier fops0.fops; identifier open_f; @@ struct file_operations fops = { ... .open = open_f, ... }; // use no_llseek if we call nonseekable_open //////////////////////////////////////////// @ nonseekable1 depends on !has_llseek && has_open @ identifier fops0.fops; identifier nso ~= "nonseekable_open"; @@ struct file_operations fops = { ... .open = nso, ... +.llseek = no_llseek, /* nonseekable */ }; @ nonseekable2 depends on !has_llseek @ identifier fops0.fops; identifier open.open_f; @@ struct file_operations fops = { ... .open = open_f, ... +.llseek = no_llseek, /* open uses nonseekable */ }; // use seq_lseek for sequential files ///////////////////////////////////// @ seq depends on !has_llseek @ identifier fops0.fops; identifier sr ~= "seq_read"; @@ struct file_operations fops = { ... .read = sr, ... +.llseek = seq_lseek, /* we have seq_read */ }; // use default_llseek if there is a readdir /////////////////////////////////////////// @ fops1 depends on !has_llseek && !nonseekable1 && !nonseekable2 && !seq @ identifier fops0.fops; identifier readdir_e; @@ // any other fop is used that changes pos struct file_operations fops = { ... .readdir = readdir_e, ... +.llseek = default_llseek, /* readdir is present */ }; // use default_llseek if at least one of read/write touches f_pos ///////////////////////////////////////////////////////////////// @ fops2 depends on !fops1 && !has_llseek && !nonseekable1 && !nonseekable2 && !seq @ identifier fops0.fops; identifier read.read_f; @@ // read fops use offset struct file_operations fops = { ... .read = read_f, ... +.llseek = default_llseek, /* read accesses f_pos */ }; @ fops3 depends on !fops1 && !fops2 && !has_llseek && !nonseekable1 && !nonseekable2 && !seq @ identifier fops0.fops; identifier write.write_f; @@ // write fops use offset struct file_operations fops = { ... .write = write_f, ... + .llseek = default_llseek, /* write accesses f_pos */ }; // Use noop_llseek if neither read nor write accesses f_pos /////////////////////////////////////////////////////////// @ fops4 depends on !fops1 && !fops2 && !fops3 && !has_llseek && !nonseekable1 && !nonseekable2 && !seq @ identifier fops0.fops; identifier read_no_fpos.read_f; identifier write_no_fpos.write_f; @@ // write fops use offset struct file_operations fops = { ... .write = write_f, .read = read_f, ... +.llseek = noop_llseek, /* read and write both use no f_pos */ }; @ depends on has_write && !has_read && !fops1 && !fops2 && !has_llseek && !nonseekable1 && !nonseekable2 && !seq @ identifier fops0.fops; identifier write_no_fpos.write_f; @@ struct file_operations fops = { ... .write = write_f, ... +.llseek = noop_llseek, /* write uses no f_pos */ }; @ depends on has_read && !has_write && !fops1 && !fops2 && !has_llseek && !nonseekable1 && !nonseekable2 && !seq @ identifier fops0.fops; identifier read_no_fpos.read_f; @@ struct file_operations fops = { ... .read = read_f, ... +.llseek = noop_llseek, /* read uses no f_pos */ }; @ depends on !has_read && !has_write && !fops1 && !fops2 && !has_llseek && !nonseekable1 && !nonseekable2 && !seq @ identifier fops0.fops; @@ struct file_operations fops = { ... +.llseek = noop_llseek, /* no read or write fn */ }; ===== End semantic patch ===== Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Julia Lawall <julia@diku.dk> Cc: Christoph Hellwig <hch@infradead.org>
This commit is contained in:
parent
1ec5584e3e
commit
6038f373a3
@ -314,6 +314,7 @@ static const struct file_operations etb_fops = {
|
|||||||
.read = etb_read,
|
.read = etb_read,
|
||||||
.open = etb_open,
|
.open = etb_open,
|
||||||
.release = etb_release,
|
.release = etb_release,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice etb_miscdev = {
|
static struct miscdevice etb_miscdev = {
|
||||||
|
@ -48,7 +48,8 @@ static ssize_t last_radio_log_read(struct file *file, char __user *buf,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static struct file_operations last_radio_log_fops = {
|
static struct file_operations last_radio_log_fops = {
|
||||||
.read = last_radio_log_read
|
.read = last_radio_log_read,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
void msm_init_last_radio_log(struct module *owner)
|
void msm_init_last_radio_log(struct module *owner)
|
||||||
|
@ -212,6 +212,7 @@ static int debug_open(struct inode *inode, struct file *file)
|
|||||||
static const struct file_operations debug_ops = {
|
static const struct file_operations debug_ops = {
|
||||||
.read = debug_read,
|
.read = debug_read,
|
||||||
.open = debug_open,
|
.open = debug_open,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static void debug_create(const char *name, mode_t mode,
|
static void debug_create(const char *name, mode_t mode,
|
||||||
|
@ -137,6 +137,7 @@ static ssize_t audmux_read_file(struct file *file, char __user *user_buf,
|
|||||||
static const struct file_operations audmux_debugfs_fops = {
|
static const struct file_operations audmux_debugfs_fops = {
|
||||||
.open = audmux_open_file,
|
.open = audmux_open_file,
|
||||||
.read = audmux_read_file,
|
.read = audmux_read_file,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static void audmux_debugfs_init(void)
|
static void audmux_debugfs_init(void)
|
||||||
|
@ -41,6 +41,7 @@ static int fram_mmap(struct file *filp, struct vm_area_struct *vma)
|
|||||||
static const struct file_operations fram_fops = {
|
static const struct file_operations fram_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.mmap = fram_mmap,
|
.mmap = fram_mmap,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define FRAM_MINOR 0
|
#define FRAM_MINOR 0
|
||||||
|
@ -88,6 +88,7 @@ static const struct file_operations kgdb_test_proc_fops = {
|
|||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.read = kgdb_test_proc_read,
|
.read = kgdb_test_proc_read,
|
||||||
.write = kgdb_test_proc_write,
|
.write = kgdb_test_proc_write,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init kgdbtest_init(void)
|
static int __init kgdbtest_init(void)
|
||||||
|
@ -51,6 +51,7 @@ coreb_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
|
|||||||
static const struct file_operations coreb_fops = {
|
static const struct file_operations coreb_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.unlocked_ioctl = coreb_ioctl,
|
.unlocked_ioctl = coreb_ioctl,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice coreb_dev = {
|
static struct miscdevice coreb_dev = {
|
||||||
|
@ -387,6 +387,7 @@ print_rtc_status(void)
|
|||||||
static const struct file_operations rtc_fops = {
|
static const struct file_operations rtc_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.unlocked_ioctl = rtc_unlocked_ioctl,
|
.unlocked_ioctl = rtc_unlocked_ioctl,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Probe for the chip by writing something to its RAM and try reading it back. */
|
/* Probe for the chip by writing something to its RAM and try reading it back. */
|
||||||
|
@ -745,6 +745,7 @@ static const struct file_operations gpio_fops = {
|
|||||||
.write = gpio_write,
|
.write = gpio_write,
|
||||||
.open = gpio_open,
|
.open = gpio_open,
|
||||||
.release = gpio_release,
|
.release = gpio_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static void ioif_watcher(const unsigned int gpio_in_available,
|
static void ioif_watcher(const unsigned int gpio_in_available,
|
||||||
|
@ -617,6 +617,7 @@ static const struct file_operations i2c_fops = {
|
|||||||
.unlocked_ioctl = i2c_ioctl,
|
.unlocked_ioctl = i2c_ioctl,
|
||||||
.open = i2c_open,
|
.open = i2c_open,
|
||||||
.release = i2c_release,
|
.release = i2c_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
int __init
|
int __init
|
||||||
|
@ -64,6 +64,7 @@ static int voltage_low;
|
|||||||
static const struct file_operations pcf8563_fops = {
|
static const struct file_operations pcf8563_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.unlocked_ioctl = pcf8563_unlocked_ioctl,
|
.unlocked_ioctl = pcf8563_unlocked_ioctl,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
unsigned char
|
unsigned char
|
||||||
|
@ -250,7 +250,8 @@ static const struct file_operations sync_serial_fops = {
|
|||||||
.poll = sync_serial_poll,
|
.poll = sync_serial_poll,
|
||||||
.unlocked_ioctl = sync_serial_ioctl,
|
.unlocked_ioctl = sync_serial_ioctl,
|
||||||
.open = sync_serial_open,
|
.open = sync_serial_open,
|
||||||
.release = sync_serial_release
|
.release = sync_serial_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init etrax_sync_serial_init(void)
|
static int __init etrax_sync_serial_init(void)
|
||||||
|
@ -281,7 +281,8 @@ const struct file_operations cryptocop_fops = {
|
|||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.open = cryptocop_open,
|
.open = cryptocop_open,
|
||||||
.release = cryptocop_release,
|
.release = cryptocop_release,
|
||||||
.unlocked_ioctl = cryptocop_ioctl
|
.unlocked_ioctl = cryptocop_ioctl,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -698,6 +698,7 @@ static const struct file_operations i2c_fops = {
|
|||||||
.unlocked_ioctl = i2c_ioctl,
|
.unlocked_ioctl = i2c_ioctl,
|
||||||
.open = i2c_open,
|
.open = i2c_open,
|
||||||
.release = i2c_release,
|
.release = i2c_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init i2c_init(void)
|
static int __init i2c_init(void)
|
||||||
|
@ -893,6 +893,7 @@ static const struct file_operations gpio_fops = {
|
|||||||
.write = gpio_write,
|
.write = gpio_write,
|
||||||
.open = gpio_open,
|
.open = gpio_open,
|
||||||
.release = gpio_release,
|
.release = gpio_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_ETRAX_VIRTUAL_GPIO
|
#ifdef CONFIG_ETRAX_VIRTUAL_GPIO
|
||||||
|
@ -870,6 +870,7 @@ static const struct file_operations gpio_fops = {
|
|||||||
.write = gpio_write,
|
.write = gpio_write,
|
||||||
.open = gpio_open,
|
.open = gpio_open,
|
||||||
.release = gpio_release,
|
.release = gpio_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_ETRAX_VIRTUAL_GPIO
|
#ifdef CONFIG_ETRAX_VIRTUAL_GPIO
|
||||||
|
@ -60,6 +60,7 @@ static int voltage_low;
|
|||||||
static const struct file_operations pcf8563_fops = {
|
static const struct file_operations pcf8563_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.unlocked_ioctl = pcf8563_unlocked_ioctl,
|
.unlocked_ioctl = pcf8563_unlocked_ioctl,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
unsigned char
|
unsigned char
|
||||||
|
@ -247,7 +247,8 @@ static const struct file_operations sync_serial_fops = {
|
|||||||
.poll = sync_serial_poll,
|
.poll = sync_serial_poll,
|
||||||
.unlocked_ioctl = sync_serial_ioctl,
|
.unlocked_ioctl = sync_serial_ioctl,
|
||||||
.open = sync_serial_open,
|
.open = sync_serial_open,
|
||||||
.release = sync_serial_release
|
.release = sync_serial_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init etrax_sync_serial_init(void)
|
static int __init etrax_sync_serial_init(void)
|
||||||
|
@ -59,6 +59,7 @@ write_cris_profile(struct file *file, const char __user *buf,
|
|||||||
static const struct file_operations cris_proc_profile_operations = {
|
static const struct file_operations cris_proc_profile_operations = {
|
||||||
.read = read_cris_profile,
|
.read = read_cris_profile,
|
||||||
.write = write_cris_profile,
|
.write = write_cris_profile,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init init_cris_profile(void)
|
static int __init init_cris_profile(void)
|
||||||
|
@ -354,6 +354,7 @@ retry:
|
|||||||
static const struct file_operations salinfo_event_fops = {
|
static const struct file_operations salinfo_event_fops = {
|
||||||
.open = salinfo_event_open,
|
.open = salinfo_event_open,
|
||||||
.read = salinfo_event_read,
|
.read = salinfo_event_read,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int
|
static int
|
||||||
@ -571,6 +572,7 @@ static const struct file_operations salinfo_data_fops = {
|
|||||||
.release = salinfo_log_release,
|
.release = salinfo_log_release,
|
||||||
.read = salinfo_log_read,
|
.read = salinfo_log_read,
|
||||||
.write = salinfo_log_write,
|
.write = salinfo_log_write,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __cpuinit
|
static int __cpuinit
|
||||||
|
@ -860,6 +860,7 @@ error:
|
|||||||
|
|
||||||
static const struct file_operations sn_hwperf_fops = {
|
static const struct file_operations sn_hwperf_fops = {
|
||||||
.unlocked_ioctl = sn_hwperf_ioctl,
|
.unlocked_ioctl = sn_hwperf_ioctl,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice sn_hwperf_dev = {
|
static struct miscdevice sn_hwperf_dev = {
|
||||||
|
@ -155,6 +155,7 @@ static const struct file_operations rtc_fops = {
|
|||||||
.unlocked_ioctl = rtc_ioctl,
|
.unlocked_ioctl = rtc_ioctl,
|
||||||
.open = rtc_open,
|
.open = rtc_open,
|
||||||
.release = rtc_release,
|
.release = rtc_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice rtc_dev = {
|
static struct miscdevice rtc_dev = {
|
||||||
|
@ -144,6 +144,7 @@ static const struct file_operations rtc_fops = {
|
|||||||
.unlocked_ioctl = rtc_ioctl,
|
.unlocked_ioctl = rtc_ioctl,
|
||||||
.open = rtc_open,
|
.open = rtc_open,
|
||||||
.release = rtc_release,
|
.release = rtc_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice rtc_dev=
|
static struct miscdevice rtc_dev=
|
||||||
|
@ -468,7 +468,8 @@ static const struct file_operations rtlx_fops = {
|
|||||||
.release = file_release,
|
.release = file_release,
|
||||||
.write = file_write,
|
.write = file_write,
|
||||||
.read = file_read,
|
.read = file_read,
|
||||||
.poll = file_poll
|
.poll = file_poll,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct irqaction rtlx_irq = {
|
static struct irqaction rtlx_irq = {
|
||||||
|
@ -1192,7 +1192,8 @@ static const struct file_operations vpe_fops = {
|
|||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.open = vpe_open,
|
.open = vpe_open,
|
||||||
.release = vpe_release,
|
.release = vpe_release,
|
||||||
.write = vpe_write
|
.write = vpe_write,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* module wrapper entry points */
|
/* module wrapper entry points */
|
||||||
|
@ -545,6 +545,7 @@ static const struct file_operations sbprof_tb_fops = {
|
|||||||
.unlocked_ioctl = sbprof_tb_ioctl,
|
.unlocked_ioctl = sbprof_tb_ioctl,
|
||||||
.compat_ioctl = sbprof_tb_ioctl,
|
.compat_ioctl = sbprof_tb_ioctl,
|
||||||
.mmap = NULL,
|
.mmap = NULL,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct class *tb_class;
|
static struct class *tb_class;
|
||||||
|
@ -780,6 +780,7 @@ static const struct file_operations lparcfg_fops = {
|
|||||||
.write = lparcfg_write,
|
.write = lparcfg_write,
|
||||||
.open = lparcfg_open,
|
.open = lparcfg_open,
|
||||||
.release = single_release,
|
.release = single_release,
|
||||||
|
.llseek = seq_lseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init lparcfg_init(void)
|
static int __init lparcfg_init(void)
|
||||||
|
@ -716,6 +716,7 @@ static const struct file_operations rtas_flash_operations = {
|
|||||||
.write = rtas_flash_write,
|
.write = rtas_flash_write,
|
||||||
.open = rtas_excl_open,
|
.open = rtas_excl_open,
|
||||||
.release = rtas_flash_release,
|
.release = rtas_flash_release,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct file_operations manage_flash_operations = {
|
static const struct file_operations manage_flash_operations = {
|
||||||
@ -724,6 +725,7 @@ static const struct file_operations manage_flash_operations = {
|
|||||||
.write = manage_flash_write,
|
.write = manage_flash_write,
|
||||||
.open = rtas_excl_open,
|
.open = rtas_excl_open,
|
||||||
.release = rtas_excl_release,
|
.release = rtas_excl_release,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct file_operations validate_flash_operations = {
|
static const struct file_operations validate_flash_operations = {
|
||||||
@ -732,6 +734,7 @@ static const struct file_operations validate_flash_operations = {
|
|||||||
.write = validate_flash_write,
|
.write = validate_flash_write,
|
||||||
.open = rtas_excl_open,
|
.open = rtas_excl_open,
|
||||||
.release = validate_flash_release,
|
.release = validate_flash_release,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init rtas_flash_init(void)
|
static int __init rtas_flash_init(void)
|
||||||
|
@ -354,6 +354,7 @@ static const struct file_operations proc_rtas_log_operations = {
|
|||||||
.poll = rtas_log_poll,
|
.poll = rtas_log_poll,
|
||||||
.open = rtas_log_open,
|
.open = rtas_log_open,
|
||||||
.release = rtas_log_release,
|
.release = rtas_log_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int enable_surveillance(int timeout)
|
static int enable_surveillance(int timeout)
|
||||||
|
@ -1249,6 +1249,7 @@ out:
|
|||||||
|
|
||||||
static const struct file_operations proc_vmlinux_operations = {
|
static const struct file_operations proc_vmlinux_operations = {
|
||||||
.write = proc_mf_change_vmlinux,
|
.write = proc_mf_change_vmlinux,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init mf_proc_init(void)
|
static int __init mf_proc_init(void)
|
||||||
|
@ -539,7 +539,8 @@ out:
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const struct file_operations ofdt_fops = {
|
static const struct file_operations ofdt_fops = {
|
||||||
.write = ofdt_write
|
.write = ofdt_write,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* create /proc/powerpc/ofdt write-only by root */
|
/* create /proc/powerpc/ofdt write-only by root */
|
||||||
|
@ -170,6 +170,7 @@ const struct file_operations scanlog_fops = {
|
|||||||
.write = scanlog_write,
|
.write = scanlog_write,
|
||||||
.open = scanlog_open,
|
.open = scanlog_open,
|
||||||
.release = scanlog_release,
|
.release = scanlog_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init scanlog_init(void)
|
static int __init scanlog_init(void)
|
||||||
|
@ -152,6 +152,7 @@ static const struct file_operations prng_fops = {
|
|||||||
.open = &prng_open,
|
.open = &prng_open,
|
||||||
.release = NULL,
|
.release = NULL,
|
||||||
.read = &prng_read,
|
.read = &prng_read,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice prng_dev = {
|
static struct miscdevice prng_dev = {
|
||||||
|
@ -618,6 +618,7 @@ static const struct file_operations dbfs_d204_ops = {
|
|||||||
.open = dbfs_d204_open,
|
.open = dbfs_d204_open,
|
||||||
.read = dbfs_d204_read,
|
.read = dbfs_d204_read,
|
||||||
.release = dbfs_d204_release,
|
.release = dbfs_d204_release,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int hypfs_dbfs_init(void)
|
static int hypfs_dbfs_init(void)
|
||||||
|
@ -275,6 +275,7 @@ static const struct file_operations dbfs_d2fc_ops = {
|
|||||||
.open = dbfs_d2fc_open,
|
.open = dbfs_d2fc_open,
|
||||||
.read = dbfs_d2fc_read,
|
.read = dbfs_d2fc_read,
|
||||||
.release = dbfs_d2fc_release,
|
.release = dbfs_d2fc_release,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
int hypfs_vm_init(void)
|
int hypfs_vm_init(void)
|
||||||
|
@ -449,6 +449,7 @@ static const struct file_operations hypfs_file_ops = {
|
|||||||
.write = do_sync_write,
|
.write = do_sync_write,
|
||||||
.aio_read = hypfs_aio_read,
|
.aio_read = hypfs_aio_read,
|
||||||
.aio_write = hypfs_aio_write,
|
.aio_write = hypfs_aio_write,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct file_system_type hypfs_type = {
|
static struct file_system_type hypfs_type = {
|
||||||
|
@ -174,6 +174,7 @@ static const struct file_operations debug_file_ops = {
|
|||||||
.write = debug_input,
|
.write = debug_input,
|
||||||
.open = debug_open,
|
.open = debug_open,
|
||||||
.release = debug_close,
|
.release = debug_close,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct dentry *debug_debugfs_root_entry;
|
static struct dentry *debug_debugfs_root_entry;
|
||||||
|
@ -128,6 +128,7 @@ static const struct file_operations gio_fops = {
|
|||||||
.open = gio_open, /* open */
|
.open = gio_open, /* open */
|
||||||
.release = gio_close, /* release */
|
.release = gio_close, /* release */
|
||||||
.unlocked_ioctl = gio_ioctl,
|
.unlocked_ioctl = gio_ioctl,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init gio_init(void)
|
static int __init gio_init(void)
|
||||||
|
@ -132,6 +132,7 @@ static const struct file_operations apc_fops = {
|
|||||||
.unlocked_ioctl = apc_ioctl,
|
.unlocked_ioctl = apc_ioctl,
|
||||||
.open = apc_open,
|
.open = apc_open,
|
||||||
.release = apc_release,
|
.release = apc_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice apc_miscdev = { APC_MINOR, APC_DEVNAME, &apc_fops };
|
static struct miscdevice apc_miscdev = { APC_MINOR, APC_DEVNAME, &apc_fops };
|
||||||
|
@ -890,6 +890,7 @@ static ssize_t mdesc_read(struct file *file, char __user *buf,
|
|||||||
static const struct file_operations mdesc_fops = {
|
static const struct file_operations mdesc_fops = {
|
||||||
.read = mdesc_read,
|
.read = mdesc_read,
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice mdesc_misc = {
|
static struct miscdevice mdesc_misc = {
|
||||||
|
@ -774,6 +774,7 @@ static const struct file_operations dev_hardwall_fops = {
|
|||||||
#endif
|
#endif
|
||||||
.flush = hardwall_flush,
|
.flush = hardwall_flush,
|
||||||
.release = hardwall_release,
|
.release = hardwall_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct cdev hardwall_dev;
|
static struct cdev hardwall_dev;
|
||||||
|
@ -166,6 +166,7 @@ static const struct file_operations harddog_fops = {
|
|||||||
.unlocked_ioctl = harddog_ioctl,
|
.unlocked_ioctl = harddog_ioctl,
|
||||||
.open = harddog_open,
|
.open = harddog_open,
|
||||||
.release = harddog_release,
|
.release = harddog_release,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice harddog_miscdev = {
|
static struct miscdevice harddog_miscdev = {
|
||||||
|
@ -843,6 +843,7 @@ static ssize_t mconsole_proc_write(struct file *file,
|
|||||||
static const struct file_operations mconsole_proc_fops = {
|
static const struct file_operations mconsole_proc_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.write = mconsole_proc_write,
|
.write = mconsole_proc_write,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int create_proc_mconsole(void)
|
static int create_proc_mconsole(void)
|
||||||
|
@ -93,6 +93,7 @@ static const struct file_operations mmapper_fops = {
|
|||||||
.mmap = mmapper_mmap,
|
.mmap = mmapper_mmap,
|
||||||
.open = mmapper_open,
|
.open = mmapper_open,
|
||||||
.release = mmapper_release,
|
.release = mmapper_release,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -100,6 +100,7 @@ static const struct file_operations rng_chrdev_ops = {
|
|||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.open = rng_dev_open,
|
.open = rng_dev_open,
|
||||||
.read = rng_dev_read,
|
.read = rng_dev_read,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* rng_init shouldn't be called more than once at boot time */
|
/* rng_init shouldn't be called more than once at boot time */
|
||||||
|
@ -1926,6 +1926,7 @@ static const struct file_operations apm_bios_fops = {
|
|||||||
.unlocked_ioctl = do_ioctl,
|
.unlocked_ioctl = do_ioctl,
|
||||||
.open = do_open,
|
.open = do_open,
|
||||||
.release = do_release,
|
.release = do_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice apm_device = {
|
static struct miscdevice apm_device = {
|
||||||
|
@ -192,6 +192,7 @@ static const struct file_operations severities_coverage_fops = {
|
|||||||
.release = seq_release,
|
.release = seq_release,
|
||||||
.read = seq_read,
|
.read = seq_read,
|
||||||
.write = severities_coverage_write,
|
.write = severities_coverage_write,
|
||||||
|
.llseek = seq_lseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init severities_debugfs_init(void)
|
static int __init severities_debugfs_init(void)
|
||||||
|
@ -1665,6 +1665,7 @@ struct file_operations mce_chrdev_ops = {
|
|||||||
.read = mce_read,
|
.read = mce_read,
|
||||||
.poll = mce_poll,
|
.poll = mce_poll,
|
||||||
.unlocked_ioctl = mce_ioctl,
|
.unlocked_ioctl = mce_ioctl,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
EXPORT_SYMBOL_GPL(mce_chrdev_ops);
|
EXPORT_SYMBOL_GPL(mce_chrdev_ops);
|
||||||
|
|
||||||
|
@ -78,6 +78,7 @@ static int setup_data_open(struct inode *inode, struct file *file)
|
|||||||
static const struct file_operations fops_setup_data = {
|
static const struct file_operations fops_setup_data = {
|
||||||
.read = setup_data_read,
|
.read = setup_data_read,
|
||||||
.open = setup_data_open,
|
.open = setup_data_open,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init
|
static int __init
|
||||||
|
@ -232,6 +232,7 @@ static const struct file_operations microcode_fops = {
|
|||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.write = microcode_write,
|
.write = microcode_write,
|
||||||
.open = microcode_open,
|
.open = microcode_open,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice microcode_dev = {
|
static struct miscdevice microcode_dev = {
|
||||||
|
@ -1285,6 +1285,7 @@ static const struct file_operations tunables_fops = {
|
|||||||
.open = tunables_open,
|
.open = tunables_open,
|
||||||
.read = tunables_read,
|
.read = tunables_read,
|
||||||
.write = tunables_write,
|
.write = tunables_write,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init uv_ptc_init(void)
|
static int __init uv_ptc_init(void)
|
||||||
|
@ -106,6 +106,7 @@ static const struct file_operations u32_array_fops = {
|
|||||||
.open = u32_array_open,
|
.open = u32_array_open,
|
||||||
.release= xen_array_release,
|
.release= xen_array_release,
|
||||||
.read = u32_array_read,
|
.read = u32_array_read,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct dentry *xen_debugfs_create_u32_array(const char *name, mode_t mode,
|
struct dentry *xen_debugfs_create_u32_array(const char *name, mode_t mode,
|
||||||
|
@ -968,6 +968,7 @@ static const struct file_operations bsg_fops = {
|
|||||||
.release = bsg_release,
|
.release = bsg_release,
|
||||||
.unlocked_ioctl = bsg_ioctl,
|
.unlocked_ioctl = bsg_ioctl,
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
void bsg_unregister_queue(struct request_queue *q)
|
void bsg_unregister_queue(struct request_queue *q)
|
||||||
|
@ -180,6 +180,7 @@ static const struct file_operations erst_dbg_ops = {
|
|||||||
.read = erst_dbg_read,
|
.read = erst_dbg_read,
|
||||||
.write = erst_dbg_write,
|
.write = erst_dbg_write,
|
||||||
.unlocked_ioctl = erst_dbg_ioctl,
|
.unlocked_ioctl = erst_dbg_ioctl,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice erst_dbg_dev = {
|
static struct miscdevice erst_dbg_dev = {
|
||||||
|
@ -69,6 +69,7 @@ static ssize_t cm_write(struct file *file, const char __user * user_buf,
|
|||||||
|
|
||||||
static const struct file_operations cm_fops = {
|
static const struct file_operations cm_fops = {
|
||||||
.write = cm_write,
|
.write = cm_write,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
int __init acpi_debugfs_init(void)
|
int __init acpi_debugfs_init(void)
|
||||||
|
@ -101,6 +101,7 @@ static struct file_operations acpi_ec_io_ops = {
|
|||||||
.open = acpi_ec_open_io,
|
.open = acpi_ec_open_io,
|
||||||
.read = acpi_ec_read_io,
|
.read = acpi_ec_read_io,
|
||||||
.write = acpi_ec_write_io,
|
.write = acpi_ec_write_io,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
int acpi_ec_add_debugfs(struct acpi_ec *ec, unsigned int ec_device_count)
|
int acpi_ec_add_debugfs(struct acpi_ec *ec, unsigned int ec_device_count)
|
||||||
|
@ -110,6 +110,7 @@ static const struct file_operations acpi_system_event_ops = {
|
|||||||
.read = acpi_system_read_event,
|
.read = acpi_system_read_event,
|
||||||
.release = acpi_system_close_event,
|
.release = acpi_system_close_event,
|
||||||
.poll = acpi_system_poll_event,
|
.poll = acpi_system_poll_event,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
#endif /* CONFIG_ACPI_PROC_EVENT */
|
#endif /* CONFIG_ACPI_PROC_EVENT */
|
||||||
|
|
||||||
|
@ -7062,7 +7062,8 @@ static long DAC960_gam_ioctl(struct file *file, unsigned int Request,
|
|||||||
|
|
||||||
static const struct file_operations DAC960_gam_fops = {
|
static const struct file_operations DAC960_gam_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.unlocked_ioctl = DAC960_gam_ioctl
|
.unlocked_ioctl = DAC960_gam_ioctl,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice DAC960_gam_dev = {
|
static struct miscdevice DAC960_gam_dev = {
|
||||||
|
@ -265,6 +265,7 @@ static const struct file_operations aoe_fops = {
|
|||||||
.open = aoechr_open,
|
.open = aoechr_open,
|
||||||
.release = aoechr_rel,
|
.release = aoechr_rel,
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static char *aoe_devnode(struct device *dev, mode_t *mode)
|
static char *aoe_devnode(struct device *dev, mode_t *mode)
|
||||||
|
@ -234,6 +234,7 @@ static const struct file_operations pg_fops = {
|
|||||||
.write = pg_write,
|
.write = pg_write,
|
||||||
.open = pg_open,
|
.open = pg_open,
|
||||||
.release = pg_release,
|
.release = pg_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static void pg_init_units(void)
|
static void pg_init_units(void)
|
||||||
|
@ -239,6 +239,7 @@ static const struct file_operations pt_fops = {
|
|||||||
.unlocked_ioctl = pt_ioctl,
|
.unlocked_ioctl = pt_ioctl,
|
||||||
.open = pt_open,
|
.open = pt_open,
|
||||||
.release = pt_release,
|
.release = pt_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* sysfs class support */
|
/* sysfs class support */
|
||||||
|
@ -3046,6 +3046,7 @@ static const struct file_operations pkt_ctl_fops = {
|
|||||||
.compat_ioctl = pkt_ctl_compat_ioctl,
|
.compat_ioctl = pkt_ctl_compat_ioctl,
|
||||||
#endif
|
#endif
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice pkt_misc = {
|
static struct miscdevice pkt_misc = {
|
||||||
|
@ -92,6 +92,7 @@ static const struct file_operations btmrvl_hscfgcmd_fops = {
|
|||||||
.read = btmrvl_hscfgcmd_read,
|
.read = btmrvl_hscfgcmd_read,
|
||||||
.write = btmrvl_hscfgcmd_write,
|
.write = btmrvl_hscfgcmd_write,
|
||||||
.open = btmrvl_open_generic,
|
.open = btmrvl_open_generic,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static ssize_t btmrvl_psmode_write(struct file *file, const char __user *ubuf,
|
static ssize_t btmrvl_psmode_write(struct file *file, const char __user *ubuf,
|
||||||
@ -130,6 +131,7 @@ static const struct file_operations btmrvl_psmode_fops = {
|
|||||||
.read = btmrvl_psmode_read,
|
.read = btmrvl_psmode_read,
|
||||||
.write = btmrvl_psmode_write,
|
.write = btmrvl_psmode_write,
|
||||||
.open = btmrvl_open_generic,
|
.open = btmrvl_open_generic,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static ssize_t btmrvl_pscmd_write(struct file *file, const char __user *ubuf,
|
static ssize_t btmrvl_pscmd_write(struct file *file, const char __user *ubuf,
|
||||||
@ -173,6 +175,7 @@ static const struct file_operations btmrvl_pscmd_fops = {
|
|||||||
.read = btmrvl_pscmd_read,
|
.read = btmrvl_pscmd_read,
|
||||||
.write = btmrvl_pscmd_write,
|
.write = btmrvl_pscmd_write,
|
||||||
.open = btmrvl_open_generic,
|
.open = btmrvl_open_generic,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static ssize_t btmrvl_gpiogap_write(struct file *file, const char __user *ubuf,
|
static ssize_t btmrvl_gpiogap_write(struct file *file, const char __user *ubuf,
|
||||||
@ -211,6 +214,7 @@ static const struct file_operations btmrvl_gpiogap_fops = {
|
|||||||
.read = btmrvl_gpiogap_read,
|
.read = btmrvl_gpiogap_read,
|
||||||
.write = btmrvl_gpiogap_write,
|
.write = btmrvl_gpiogap_write,
|
||||||
.open = btmrvl_open_generic,
|
.open = btmrvl_open_generic,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static ssize_t btmrvl_hscmd_write(struct file *file, const char __user *ubuf,
|
static ssize_t btmrvl_hscmd_write(struct file *file, const char __user *ubuf,
|
||||||
@ -252,6 +256,7 @@ static const struct file_operations btmrvl_hscmd_fops = {
|
|||||||
.read = btmrvl_hscmd_read,
|
.read = btmrvl_hscmd_read,
|
||||||
.write = btmrvl_hscmd_write,
|
.write = btmrvl_hscmd_write,
|
||||||
.open = btmrvl_open_generic,
|
.open = btmrvl_open_generic,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static ssize_t btmrvl_hsmode_write(struct file *file, const char __user *ubuf,
|
static ssize_t btmrvl_hsmode_write(struct file *file, const char __user *ubuf,
|
||||||
@ -289,6 +294,7 @@ static const struct file_operations btmrvl_hsmode_fops = {
|
|||||||
.read = btmrvl_hsmode_read,
|
.read = btmrvl_hsmode_read,
|
||||||
.write = btmrvl_hsmode_write,
|
.write = btmrvl_hsmode_write,
|
||||||
.open = btmrvl_open_generic,
|
.open = btmrvl_open_generic,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static ssize_t btmrvl_curpsmode_read(struct file *file, char __user *userbuf,
|
static ssize_t btmrvl_curpsmode_read(struct file *file, char __user *userbuf,
|
||||||
@ -306,6 +312,7 @@ static ssize_t btmrvl_curpsmode_read(struct file *file, char __user *userbuf,
|
|||||||
static const struct file_operations btmrvl_curpsmode_fops = {
|
static const struct file_operations btmrvl_curpsmode_fops = {
|
||||||
.read = btmrvl_curpsmode_read,
|
.read = btmrvl_curpsmode_read,
|
||||||
.open = btmrvl_open_generic,
|
.open = btmrvl_open_generic,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static ssize_t btmrvl_psstate_read(struct file *file, char __user * userbuf,
|
static ssize_t btmrvl_psstate_read(struct file *file, char __user * userbuf,
|
||||||
@ -323,6 +330,7 @@ static ssize_t btmrvl_psstate_read(struct file *file, char __user * userbuf,
|
|||||||
static const struct file_operations btmrvl_psstate_fops = {
|
static const struct file_operations btmrvl_psstate_fops = {
|
||||||
.read = btmrvl_psstate_read,
|
.read = btmrvl_psstate_read,
|
||||||
.open = btmrvl_open_generic,
|
.open = btmrvl_open_generic,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static ssize_t btmrvl_hsstate_read(struct file *file, char __user *userbuf,
|
static ssize_t btmrvl_hsstate_read(struct file *file, char __user *userbuf,
|
||||||
@ -340,6 +348,7 @@ static ssize_t btmrvl_hsstate_read(struct file *file, char __user *userbuf,
|
|||||||
static const struct file_operations btmrvl_hsstate_fops = {
|
static const struct file_operations btmrvl_hsstate_fops = {
|
||||||
.read = btmrvl_hsstate_read,
|
.read = btmrvl_hsstate_read,
|
||||||
.open = btmrvl_open_generic,
|
.open = btmrvl_open_generic,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static ssize_t btmrvl_txdnldready_read(struct file *file, char __user *userbuf,
|
static ssize_t btmrvl_txdnldready_read(struct file *file, char __user *userbuf,
|
||||||
@ -358,6 +367,7 @@ static ssize_t btmrvl_txdnldready_read(struct file *file, char __user *userbuf,
|
|||||||
static const struct file_operations btmrvl_txdnldready_fops = {
|
static const struct file_operations btmrvl_txdnldready_fops = {
|
||||||
.read = btmrvl_txdnldready_read,
|
.read = btmrvl_txdnldready_read,
|
||||||
.open = btmrvl_open_generic,
|
.open = btmrvl_open_generic,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
void btmrvl_debugfs_init(struct hci_dev *hdev)
|
void btmrvl_debugfs_init(struct hci_dev *hdev)
|
||||||
|
@ -282,6 +282,7 @@ static const struct file_operations vhci_fops = {
|
|||||||
.poll = vhci_poll,
|
.poll = vhci_poll,
|
||||||
.open = vhci_open,
|
.open = vhci_open,
|
||||||
.release = vhci_release,
|
.release = vhci_release,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice vhci_miscdev= {
|
static struct miscdevice vhci_miscdev= {
|
||||||
|
@ -402,6 +402,7 @@ static const struct file_operations apm_bios_fops = {
|
|||||||
.unlocked_ioctl = apm_ioctl,
|
.unlocked_ioctl = apm_ioctl,
|
||||||
.open = apm_open,
|
.open = apm_open,
|
||||||
.release = apm_release,
|
.release = apm_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice apm_device = {
|
static struct miscdevice apm_device = {
|
||||||
|
@ -222,6 +222,7 @@ static const struct file_operations bfin_otp_fops = {
|
|||||||
.unlocked_ioctl = bfin_otp_ioctl,
|
.unlocked_ioctl = bfin_otp_ioctl,
|
||||||
.read = bfin_otp_read,
|
.read = bfin_otp_read,
|
||||||
.write = bfin_otp_write,
|
.write = bfin_otp_write,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice bfin_otp_misc_device = {
|
static struct miscdevice bfin_otp_misc_device = {
|
||||||
|
@ -186,6 +186,7 @@ static const struct file_operations briq_panel_fops = {
|
|||||||
.write = briq_panel_write,
|
.write = briq_panel_write,
|
||||||
.open = briq_panel_open,
|
.open = briq_panel_open,
|
||||||
.release = briq_panel_release,
|
.release = briq_panel_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice briq_panel_miscdev = {
|
static struct miscdevice briq_panel_miscdev = {
|
||||||
|
@ -155,6 +155,7 @@ static const struct file_operations bsr_fops = {
|
|||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.mmap = bsr_mmap,
|
.mmap = bsr_mmap,
|
||||||
.open = bsr_open,
|
.open = bsr_open,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static void bsr_cleanup_devs(void)
|
static void bsr_cleanup_devs(void)
|
||||||
|
@ -169,7 +169,8 @@ static const struct file_operations cs5535_gpio_fops = {
|
|||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.write = cs5535_gpio_write,
|
.write = cs5535_gpio_write,
|
||||||
.read = cs5535_gpio_read,
|
.read = cs5535_gpio_read,
|
||||||
.open = cs5535_gpio_open
|
.open = cs5535_gpio_open,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init cs5535_gpio_init(void)
|
static int __init cs5535_gpio_init(void)
|
||||||
|
@ -288,6 +288,7 @@ get_rtc_status(char *buf)
|
|||||||
static const struct file_operations rtc_fops = {
|
static const struct file_operations rtc_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.unlocked_ioctl = rtc_ioctl,
|
.unlocked_ioctl = rtc_ioctl,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Probe for the chip by writing something to its RAM and try reading it back. */
|
/* Probe for the chip by writing something to its RAM and try reading it back. */
|
||||||
|
@ -357,6 +357,7 @@ static const struct file_operations ds1620_fops = {
|
|||||||
.open = ds1620_open,
|
.open = ds1620_open,
|
||||||
.read = ds1620_read,
|
.read = ds1620_read,
|
||||||
.unlocked_ioctl = ds1620_unlocked_ioctl,
|
.unlocked_ioctl = ds1620_unlocked_ioctl,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice ds1620_miscdev = {
|
static struct miscdevice ds1620_miscdev = {
|
||||||
|
@ -482,6 +482,7 @@ static const struct file_operations dsp56k_fops = {
|
|||||||
.unlocked_ioctl = dsp56k_ioctl,
|
.unlocked_ioctl = dsp56k_ioctl,
|
||||||
.open = dsp56k_open,
|
.open = dsp56k_open,
|
||||||
.release = dsp56k_release,
|
.release = dsp56k_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -105,6 +105,7 @@ static const struct file_operations dtlk_fops =
|
|||||||
.unlocked_ioctl = dtlk_ioctl,
|
.unlocked_ioctl = dtlk_ioctl,
|
||||||
.open = dtlk_open,
|
.open = dtlk_open,
|
||||||
.release = dtlk_release,
|
.release = dtlk_release,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* local prototypes */
|
/* local prototypes */
|
||||||
|
@ -497,6 +497,7 @@ static const struct file_operations gen_rtc_fops = {
|
|||||||
.unlocked_ioctl = gen_rtc_unlocked_ioctl,
|
.unlocked_ioctl = gen_rtc_unlocked_ioctl,
|
||||||
.open = gen_rtc_open,
|
.open = gen_rtc_open,
|
||||||
.release = gen_rtc_release,
|
.release = gen_rtc_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice rtc_gen_dev =
|
static struct miscdevice rtc_gen_dev =
|
||||||
|
@ -170,6 +170,7 @@ static const struct file_operations rng_chrdev_ops = {
|
|||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.open = rng_dev_open,
|
.open = rng_dev_open,
|
||||||
.read = rng_dev_read,
|
.read = rng_dev_read,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice rng_miscdev = {
|
static struct miscdevice rng_miscdev = {
|
||||||
|
@ -236,6 +236,7 @@ static const struct file_operations ip2_ipl = {
|
|||||||
.write = ip2_ipl_write,
|
.write = ip2_ipl_write,
|
||||||
.unlocked_ioctl = ip2_ipl_ioctl,
|
.unlocked_ioctl = ip2_ipl_ioctl,
|
||||||
.open = ip2_ipl_open,
|
.open = ip2_ipl_open,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static unsigned long irq_counter;
|
static unsigned long irq_counter;
|
||||||
|
@ -850,6 +850,7 @@ static const struct file_operations ipmi_fops = {
|
|||||||
.release = ipmi_release,
|
.release = ipmi_release,
|
||||||
.fasync = ipmi_fasync,
|
.fasync = ipmi_fasync,
|
||||||
.poll = ipmi_poll,
|
.poll = ipmi_poll,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define DEVICE_NAME "ipmidev"
|
#define DEVICE_NAME "ipmidev"
|
||||||
|
@ -909,6 +909,7 @@ static const struct file_operations ipmi_wdog_fops = {
|
|||||||
.open = ipmi_open,
|
.open = ipmi_open,
|
||||||
.release = ipmi_close,
|
.release = ipmi_close,
|
||||||
.fasync = ipmi_fasync,
|
.fasync = ipmi_fasync,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice ipmi_wdog_miscdev = {
|
static struct miscdevice ipmi_wdog_miscdev = {
|
||||||
|
@ -704,6 +704,7 @@ static const struct file_operations stli_fsiomem = {
|
|||||||
.read = stli_memread,
|
.read = stli_memread,
|
||||||
.write = stli_memwrite,
|
.write = stli_memwrite,
|
||||||
.unlocked_ioctl = stli_memioctl,
|
.unlocked_ioctl = stli_memioctl,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -748,6 +748,7 @@ static const struct file_operations lp_fops = {
|
|||||||
#ifdef CONFIG_PARPORT_1284
|
#ifdef CONFIG_PARPORT_1284
|
||||||
.read = lp_read,
|
.read = lp_read,
|
||||||
#endif
|
#endif
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* --- support for console on the line printer ----------------- */
|
/* --- support for console on the line printer ----------------- */
|
||||||
|
@ -804,6 +804,7 @@ static const struct file_operations full_fops = {
|
|||||||
static const struct file_operations oldmem_fops = {
|
static const struct file_operations oldmem_fops = {
|
||||||
.read = read_oldmem,
|
.read = read_oldmem,
|
||||||
.open = open_oldmem,
|
.open = open_oldmem,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -830,6 +831,7 @@ static ssize_t kmsg_write(struct file *file, const char __user *buf,
|
|||||||
|
|
||||||
static const struct file_operations kmsg_fops = {
|
static const struct file_operations kmsg_fops = {
|
||||||
.write = kmsg_write,
|
.write = kmsg_write,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct memdev {
|
static const struct memdev {
|
||||||
@ -881,6 +883,7 @@ static int memory_open(struct inode *inode, struct file *filp)
|
|||||||
|
|
||||||
static const struct file_operations memory_fops = {
|
static const struct file_operations memory_fops = {
|
||||||
.open = memory_open,
|
.open = memory_open,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static char *mem_devnode(struct device *dev, mode_t *mode)
|
static char *mem_devnode(struct device *dev, mode_t *mode)
|
||||||
|
@ -162,6 +162,7 @@ static struct class *misc_class;
|
|||||||
static const struct file_operations misc_fops = {
|
static const struct file_operations misc_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.open = misc_open,
|
.open = misc_open,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -72,6 +72,7 @@ static const struct file_operations mmtimer_fops = {
|
|||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.mmap = mmtimer_mmap,
|
.mmap = mmtimer_mmap,
|
||||||
.unlocked_ioctl = mmtimer_ioctl,
|
.unlocked_ioctl = mmtimer_ioctl,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -316,7 +316,8 @@ uncached_mmap(struct file *file, struct vm_area_struct *vma)
|
|||||||
|
|
||||||
static const struct file_operations fetchop_fops = {
|
static const struct file_operations fetchop_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.mmap = fetchop_mmap
|
.mmap = fetchop_mmap,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice fetchop_miscdev = {
|
static struct miscdevice fetchop_miscdev = {
|
||||||
@ -327,7 +328,8 @@ static struct miscdevice fetchop_miscdev = {
|
|||||||
|
|
||||||
static const struct file_operations cached_fops = {
|
static const struct file_operations cached_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.mmap = cached_mmap
|
.mmap = cached_mmap,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice cached_miscdev = {
|
static struct miscdevice cached_miscdev = {
|
||||||
@ -338,7 +340,8 @@ static struct miscdevice cached_miscdev = {
|
|||||||
|
|
||||||
static const struct file_operations uncached_fops = {
|
static const struct file_operations uncached_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.mmap = uncached_mmap
|
.mmap = uncached_mmap,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice uncached_miscdev = {
|
static struct miscdevice uncached_miscdev = {
|
||||||
|
@ -479,7 +479,8 @@ static const struct file_operations mwave_fops = {
|
|||||||
.write = mwave_write,
|
.write = mwave_write,
|
||||||
.unlocked_ioctl = mwave_ioctl,
|
.unlocked_ioctl = mwave_ioctl,
|
||||||
.open = mwave_open,
|
.open = mwave_open,
|
||||||
.release = mwave_close
|
.release = mwave_close,
|
||||||
|
.llseek = default_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -182,6 +182,7 @@ static int button_read (struct file *filp, char __user *buffer,
|
|||||||
static const struct file_operations button_fops = {
|
static const struct file_operations button_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.read = button_read,
|
.read = button_read,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -234,6 +234,7 @@ static const struct file_operations pc8736x_gpio_fileops = {
|
|||||||
.open = pc8736x_gpio_open,
|
.open = pc8736x_gpio_open,
|
||||||
.write = nsc_gpio_write,
|
.write = nsc_gpio_write,
|
||||||
.read = nsc_gpio_read,
|
.read = nsc_gpio_read,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static void __init pc8736x_init_shadow(void)
|
static void __init pc8736x_init_shadow(void)
|
||||||
|
@ -1880,6 +1880,7 @@ static const struct file_operations cm4000_fops = {
|
|||||||
.unlocked_ioctl = cmm_ioctl,
|
.unlocked_ioctl = cmm_ioctl,
|
||||||
.open = cmm_open,
|
.open = cmm_open,
|
||||||
.release= cmm_close,
|
.release= cmm_close,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct pcmcia_device_id cm4000_ids[] = {
|
static struct pcmcia_device_id cm4000_ids[] = {
|
||||||
|
@ -650,6 +650,7 @@ static const struct file_operations reader_fops = {
|
|||||||
.open = cm4040_open,
|
.open = cm4040_open,
|
||||||
.release = cm4040_close,
|
.release = cm4040_close,
|
||||||
.poll = cm4040_poll,
|
.poll = cm4040_poll,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct pcmcia_device_id cm4040_ids[] = {
|
static struct pcmcia_device_id cm4040_ids[] = {
|
||||||
|
@ -1165,6 +1165,7 @@ const struct file_operations random_fops = {
|
|||||||
.poll = random_poll,
|
.poll = random_poll,
|
||||||
.unlocked_ioctl = random_ioctl,
|
.unlocked_ioctl = random_ioctl,
|
||||||
.fasync = random_fasync,
|
.fasync = random_fasync,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct file_operations urandom_fops = {
|
const struct file_operations urandom_fops = {
|
||||||
@ -1172,6 +1173,7 @@ const struct file_operations urandom_fops = {
|
|||||||
.write = random_write,
|
.write = random_write,
|
||||||
.unlocked_ioctl = random_ioctl,
|
.unlocked_ioctl = random_ioctl,
|
||||||
.fasync = random_fasync,
|
.fasync = random_fasync,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
/***************************************************************
|
/***************************************************************
|
||||||
|
@ -241,6 +241,7 @@ static struct real_driver rio_real_driver = {
|
|||||||
static const struct file_operations rio_fw_fops = {
|
static const struct file_operations rio_fw_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.unlocked_ioctl = rio_fw_ioctl,
|
.unlocked_ioctl = rio_fw_ioctl,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice rio_fw_device = {
|
static struct miscdevice rio_fw_device = {
|
||||||
|
@ -67,6 +67,7 @@ static const struct file_operations scx200_gpio_fileops = {
|
|||||||
.read = nsc_gpio_read,
|
.read = nsc_gpio_read,
|
||||||
.open = scx200_gpio_open,
|
.open = scx200_gpio_open,
|
||||||
.release = scx200_gpio_release,
|
.release = scx200_gpio_release,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct cdev scx200_gpio_cdev; /* use 1 cdev for all pins */
|
static struct cdev scx200_gpio_cdev; /* use 1 cdev for all pins */
|
||||||
|
@ -357,6 +357,7 @@ static const struct file_operations scdrv_fops = {
|
|||||||
.poll = scdrv_poll,
|
.poll = scdrv_poll,
|
||||||
.open = scdrv_open,
|
.open = scdrv_open,
|
||||||
.release = scdrv_release,
|
.release = scdrv_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct class *snsc_class;
|
static struct class *snsc_class;
|
||||||
|
@ -608,6 +608,7 @@ static unsigned int sc26198_baudtable[] = {
|
|||||||
static const struct file_operations stl_fsiomem = {
|
static const struct file_operations stl_fsiomem = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.unlocked_ioctl = stl_memioctl,
|
.unlocked_ioctl = stl_memioctl,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct class *stallion_class;
|
static struct class *stallion_class;
|
||||||
|
@ -397,6 +397,7 @@ static struct real_driver sx_real_driver = {
|
|||||||
static const struct file_operations sx_fw_fops = {
|
static const struct file_operations sx_fw_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.unlocked_ioctl = sx_fw_ioctl,
|
.unlocked_ioctl = sx_fw_ioctl,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice sx_fw_device = {
|
static struct miscdevice sx_fw_device = {
|
||||||
|
@ -772,6 +772,7 @@ static ssize_t write_sysrq_trigger(struct file *file, const char __user *buf,
|
|||||||
|
|
||||||
static const struct file_operations proc_sysrq_trigger_operations = {
|
static const struct file_operations proc_sysrq_trigger_operations = {
|
||||||
.write = write_sysrq_trigger,
|
.write = write_sysrq_trigger,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static void sysrq_init_procfs(void)
|
static void sysrq_init_procfs(void)
|
||||||
|
@ -261,6 +261,7 @@ static const struct file_operations tb0219_fops = {
|
|||||||
.write = tanbac_tb0219_write,
|
.write = tanbac_tb0219_write,
|
||||||
.open = tanbac_tb0219_open,
|
.open = tanbac_tb0219_open,
|
||||||
.release = tanbac_tb0219_release,
|
.release = tanbac_tb0219_release,
|
||||||
|
.llseek = no_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static void tb0219_restart(char *command)
|
static void tb0219_restart(char *command)
|
||||||
|
@ -267,6 +267,7 @@ static const struct file_operations tlclk_fops = {
|
|||||||
.read = tlclk_read,
|
.read = tlclk_read,
|
||||||
.open = tlclk_open,
|
.open = tlclk_open,
|
||||||
.release = tlclk_release,
|
.release = tlclk_release,
|
||||||
|
.llseek = noop_llseek,
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -95,6 +95,7 @@ static long tosh_ioctl(struct file *, unsigned int,
|
|||||||
static const struct file_operations tosh_fops = {
|
static const struct file_operations tosh_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.unlocked_ioctl = tosh_ioctl,
|
.unlocked_ioctl = tosh_ioctl,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct miscdevice tosh_device = {
|
static struct miscdevice tosh_device = {
|
||||||
|
@ -52,6 +52,7 @@ static const struct file_operations uv_mmtimer_fops = {
|
|||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.mmap = uv_mmtimer_mmap,
|
.mmap = uv_mmtimer_mmap,
|
||||||
.unlocked_ioctl = uv_mmtimer_ioctl,
|
.unlocked_ioctl = uv_mmtimer_ioctl,
|
||||||
|
.llseek = noop_llseek,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user