Skip to content

Commit cb787f4

Browse files
Al Virotorvalds
authored andcommitted
[tree-wide] finally take no_llseek out
no_llseek had been defined to NULL two years ago, in commit 868941b ("fs: remove no_llseek") To quote that commit, At -rc1 we'll need do a mechanical removal of no_llseek - git grep -l -w no_llseek | grep -v porting.rst | while read i; do sed -i '/\<no_llseek\>/d' $i done would do it. Unfortunately, that hadn't been done. Linus, could you do that now, so that we could finally put that thing to rest? All instances are of the form .llseek = no_llseek, so it's obviously safe. Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 075dbe9 commit cb787f4

File tree

221 files changed

+0
-270
lines changed

Some content is hidden

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

221 files changed

+0
-270
lines changed

Documentation/watchdog/convert_drivers_to_kernel_api.rst

Lines changed: 0 additions & 1 deletion

arch/parisc/kernel/perf.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,6 @@ static long perf_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
466466
}
467467

468468
static const struct file_operations perf_fops = {
469-
.llseek = no_llseek,
470469
.read = perf_read,
471470
.write = perf_write,
472471
.unlocked_ioctl = perf_ioctl,

arch/s390/hypfs/hypfs_dbfs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ static long dbfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
7676

7777
static const struct file_operations dbfs_ops = {
7878
.read = dbfs_read,
79-
.llseek = no_llseek,
8079
.unlocked_ioctl = dbfs_ioctl,
8180
};
8281

arch/s390/hypfs/inode.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,6 @@ static const struct file_operations hypfs_file_ops = {
443443
.release = hypfs_release,
444444
.read_iter = hypfs_read_iter,
445445
.write_iter = hypfs_write_iter,
446-
.llseek = no_llseek,
447446
};
448447

449448
static struct file_system_type hypfs_type = {

arch/s390/kernel/debug.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ static const struct file_operations debug_file_ops = {
163163
.write = debug_input,
164164
.open = debug_open,
165165
.release = debug_close,
166-
.llseek = no_llseek,
167166
};
168167

169168
static struct dentry *debug_debugfs_root_entry;

arch/s390/kernel/perf_cpum_cf.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1698,7 +1698,6 @@ static const struct file_operations cfset_fops = {
16981698
.release = cfset_release,
16991699
.unlocked_ioctl = cfset_ioctl,
17001700
.compat_ioctl = cfset_ioctl,
1701-
.llseek = no_llseek
17021701
};
17031702

17041703
static struct miscdevice cfset_dev = {

arch/s390/kernel/sysinfo.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,6 @@ static const struct file_operations stsi_##fc##_##s1##_##s2##_fs_ops = { \
498498
.open = stsi_open_##fc##_##s1##_##s2, \
499499
.release = stsi_release, \
500500
.read = stsi_read, \
501-
.llseek = no_llseek, \
502501
};
503502

504503
static int stsi_release(struct inode *inode, struct file *file)

arch/s390/pci/pci_clp.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,6 @@ static const struct file_operations clp_misc_fops = {
657657
.release = clp_misc_release,
658658
.unlocked_ioctl = clp_misc_ioctl,
659659
.compat_ioctl = clp_misc_ioctl,
660-
.llseek = no_llseek,
661660
};
662661

663662
static struct miscdevice clp_misc_device = {

arch/um/drivers/harddog_kern.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ static const struct file_operations harddog_fops = {
164164
.compat_ioctl = compat_ptr_ioctl,
165165
.open = harddog_open,
166166
.release = harddog_release,
167-
.llseek = no_llseek,
168167
};
169168

170169
static struct miscdevice harddog_miscdev = {

arch/um/drivers/hostaudio_kern.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ static int hostmixer_release(struct inode *inode, struct file *file)
291291

292292
static const struct file_operations hostaudio_fops = {
293293
.owner = THIS_MODULE,
294-
.llseek = no_llseek,
295294
.read = hostaudio_read,
296295
.write = hostaudio_write,
297296
.poll = hostaudio_poll,
@@ -304,7 +303,6 @@ static const struct file_operations hostaudio_fops = {
304303

305304
static const struct file_operations hostmixer_fops = {
306305
.owner = THIS_MODULE,
307-
.llseek = no_llseek,
308306
.unlocked_ioctl = hostmixer_ioctl_mixdev,
309307
.open = hostmixer_open_mixdev,
310308
.release = hostmixer_release,

0 commit comments

Comments
 (0)