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/s390 | |
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/s390')
-rw-r--r-- | drivers/s390/block/dasd_eer.c | 1 | ||||
-rw-r--r-- | drivers/s390/char/fs3270.c | 1 | ||||
-rw-r--r-- | drivers/s390/char/monreader.c | 1 | ||||
-rw-r--r-- | drivers/s390/char/monwriter.c | 1 | ||||
-rw-r--r-- | drivers/s390/char/tape_char.c | 1 | ||||
-rw-r--r-- | drivers/s390/char/vmcp.c | 1 | ||||
-rw-r--r-- | drivers/s390/char/vmlogrdr.c | 1 | ||||
-rw-r--r-- | drivers/s390/char/vmwatchdog.c | 1 | ||||
-rw-r--r-- | drivers/s390/char/zcore.c | 2 | ||||
-rw-r--r-- | drivers/s390/cio/chsc_sch.c | 1 | ||||
-rw-r--r-- | drivers/s390/cio/css.c | 1 | ||||
-rw-r--r-- | drivers/s390/crypto/zcrypt_api.c | 3 | ||||
-rw-r--r-- | drivers/s390/scsi/zfcp_cfdc.c | 3 |
13 files changed, 16 insertions, 2 deletions
diff --git a/drivers/s390/block/dasd_eer.c b/drivers/s390/block/dasd_eer.c index 7158f9528ecc..c71d89dba302 100644 --- a/drivers/s390/block/dasd_eer.c +++ b/drivers/s390/block/dasd_eer.c | |||
@@ -670,6 +670,7 @@ static const struct file_operations dasd_eer_fops = { | |||
670 | .read = &dasd_eer_read, | 670 | .read = &dasd_eer_read, |
671 | .poll = &dasd_eer_poll, | 671 | .poll = &dasd_eer_poll, |
672 | .owner = THIS_MODULE, | 672 | .owner = THIS_MODULE, |
673 | .llseek = noop_llseek, | ||
673 | }; | 674 | }; |
674 | 675 | ||
675 | static struct miscdevice *dasd_eer_dev = NULL; | 676 | static struct miscdevice *dasd_eer_dev = NULL; |
diff --git a/drivers/s390/char/fs3270.c b/drivers/s390/char/fs3270.c index 857dfcb7b359..eb28fb01a38a 100644 --- a/drivers/s390/char/fs3270.c +++ b/drivers/s390/char/fs3270.c | |||
@@ -520,6 +520,7 @@ static const struct file_operations fs3270_fops = { | |||
520 | .compat_ioctl = fs3270_ioctl, /* ioctl */ | 520 | .compat_ioctl = fs3270_ioctl, /* ioctl */ |
521 | .open = fs3270_open, /* open */ | 521 | .open = fs3270_open, /* open */ |
522 | .release = fs3270_close, /* release */ | 522 | .release = fs3270_close, /* release */ |
523 | .llseek = no_llseek, | ||
523 | }; | 524 | }; |
524 | 525 | ||
525 | /* | 526 | /* |
diff --git a/drivers/s390/char/monreader.c b/drivers/s390/char/monreader.c index e021ec663ef9..5b8b8592d311 100644 --- a/drivers/s390/char/monreader.c +++ b/drivers/s390/char/monreader.c | |||
@@ -447,6 +447,7 @@ static const struct file_operations mon_fops = { | |||
447 | .release = &mon_close, | 447 | .release = &mon_close, |
448 | .read = &mon_read, | 448 | .read = &mon_read, |
449 | .poll = &mon_poll, | 449 | .poll = &mon_poll, |
450 | .llseek = noop_llseek, | ||
450 | }; | 451 | }; |
451 | 452 | ||
452 | static struct miscdevice mon_dev = { | 453 | static struct miscdevice mon_dev = { |
diff --git a/drivers/s390/char/monwriter.c b/drivers/s390/char/monwriter.c index 572a1e7fd099..e0702d3ea33b 100644 --- a/drivers/s390/char/monwriter.c +++ b/drivers/s390/char/monwriter.c | |||
@@ -274,6 +274,7 @@ static const struct file_operations monwrite_fops = { | |||
274 | .open = &monwrite_open, | 274 | .open = &monwrite_open, |
275 | .release = &monwrite_close, | 275 | .release = &monwrite_close, |
276 | .write = &monwrite_write, | 276 | .write = &monwrite_write, |
277 | .llseek = noop_llseek, | ||
277 | }; | 278 | }; |
278 | 279 | ||
279 | static struct miscdevice mon_dev = { | 280 | static struct miscdevice mon_dev = { |
diff --git a/drivers/s390/char/tape_char.c b/drivers/s390/char/tape_char.c index 539045acaad4..883e2db02bd3 100644 --- a/drivers/s390/char/tape_char.c +++ b/drivers/s390/char/tape_char.c | |||
@@ -53,6 +53,7 @@ static const struct file_operations tape_fops = | |||
53 | #endif | 53 | #endif |
54 | .open = tapechar_open, | 54 | .open = tapechar_open, |
55 | .release = tapechar_release, | 55 | .release = tapechar_release, |
56 | .llseek = no_llseek, | ||
56 | }; | 57 | }; |
57 | 58 | ||
58 | static int tapechar_major = TAPECHAR_MAJOR; | 59 | static int tapechar_major = TAPECHAR_MAJOR; |
diff --git a/drivers/s390/char/vmcp.c b/drivers/s390/char/vmcp.c index 04e532eec032..0e7cb1a84151 100644 --- a/drivers/s390/char/vmcp.c +++ b/drivers/s390/char/vmcp.c | |||
@@ -177,6 +177,7 @@ static const struct file_operations vmcp_fops = { | |||
177 | .write = vmcp_write, | 177 | .write = vmcp_write, |
178 | .unlocked_ioctl = vmcp_ioctl, | 178 | .unlocked_ioctl = vmcp_ioctl, |
179 | .compat_ioctl = vmcp_ioctl, | 179 | .compat_ioctl = vmcp_ioctl, |
180 | .llseek = no_llseek, | ||
180 | }; | 181 | }; |
181 | 182 | ||
182 | static struct miscdevice vmcp_dev = { | 183 | static struct miscdevice vmcp_dev = { |
diff --git a/drivers/s390/char/vmlogrdr.c b/drivers/s390/char/vmlogrdr.c index e40a1b892866..0d6dc4b92cc2 100644 --- a/drivers/s390/char/vmlogrdr.c +++ b/drivers/s390/char/vmlogrdr.c | |||
@@ -97,6 +97,7 @@ static const struct file_operations vmlogrdr_fops = { | |||
97 | .open = vmlogrdr_open, | 97 | .open = vmlogrdr_open, |
98 | .release = vmlogrdr_release, | 98 | .release = vmlogrdr_release, |
99 | .read = vmlogrdr_read, | 99 | .read = vmlogrdr_read, |
100 | .llseek = no_llseek, | ||
100 | }; | 101 | }; |
101 | 102 | ||
102 | 103 | ||
diff --git a/drivers/s390/char/vmwatchdog.c b/drivers/s390/char/vmwatchdog.c index e13508c98b1a..12ef9121d4f0 100644 --- a/drivers/s390/char/vmwatchdog.c +++ b/drivers/s390/char/vmwatchdog.c | |||
@@ -297,6 +297,7 @@ static const struct file_operations vmwdt_fops = { | |||
297 | .unlocked_ioctl = &vmwdt_ioctl, | 297 | .unlocked_ioctl = &vmwdt_ioctl, |
298 | .write = &vmwdt_write, | 298 | .write = &vmwdt_write, |
299 | .owner = THIS_MODULE, | 299 | .owner = THIS_MODULE, |
300 | .llseek = noop_llseek, | ||
300 | }; | 301 | }; |
301 | 302 | ||
302 | static struct miscdevice vmwdt_dev = { | 303 | static struct miscdevice vmwdt_dev = { |
diff --git a/drivers/s390/char/zcore.c b/drivers/s390/char/zcore.c index f5ea3384a4b9..3b94044027c2 100644 --- a/drivers/s390/char/zcore.c +++ b/drivers/s390/char/zcore.c | |||
@@ -459,6 +459,7 @@ static const struct file_operations zcore_memmap_fops = { | |||
459 | .read = zcore_memmap_read, | 459 | .read = zcore_memmap_read, |
460 | .open = zcore_memmap_open, | 460 | .open = zcore_memmap_open, |
461 | .release = zcore_memmap_release, | 461 | .release = zcore_memmap_release, |
462 | .llseek = no_llseek, | ||
462 | }; | 463 | }; |
463 | 464 | ||
464 | static ssize_t zcore_reipl_write(struct file *filp, const char __user *buf, | 465 | static ssize_t zcore_reipl_write(struct file *filp, const char __user *buf, |
@@ -486,6 +487,7 @@ static const struct file_operations zcore_reipl_fops = { | |||
486 | .write = zcore_reipl_write, | 487 | .write = zcore_reipl_write, |
487 | .open = zcore_reipl_open, | 488 | .open = zcore_reipl_open, |
488 | .release = zcore_reipl_release, | 489 | .release = zcore_reipl_release, |
490 | .llseek = no_llseek, | ||
489 | }; | 491 | }; |
490 | 492 | ||
491 | #ifdef CONFIG_32BIT | 493 | #ifdef CONFIG_32BIT |
diff --git a/drivers/s390/cio/chsc_sch.c b/drivers/s390/cio/chsc_sch.c index a83877c664a6..f2b77e7bfc6f 100644 --- a/drivers/s390/cio/chsc_sch.c +++ b/drivers/s390/cio/chsc_sch.c | |||
@@ -806,6 +806,7 @@ static const struct file_operations chsc_fops = { | |||
806 | .open = nonseekable_open, | 806 | .open = nonseekable_open, |
807 | .unlocked_ioctl = chsc_ioctl, | 807 | .unlocked_ioctl = chsc_ioctl, |
808 | .compat_ioctl = chsc_ioctl, | 808 | .compat_ioctl = chsc_ioctl, |
809 | .llseek = no_llseek, | ||
809 | }; | 810 | }; |
810 | 811 | ||
811 | static struct miscdevice chsc_misc_device = { | 812 | static struct miscdevice chsc_misc_device = { |
diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c index ac94ac751459..ca8e1c240c3c 100644 --- a/drivers/s390/cio/css.c +++ b/drivers/s390/cio/css.c | |||
@@ -1067,6 +1067,7 @@ static ssize_t cio_settle_write(struct file *file, const char __user *buf, | |||
1067 | static const struct file_operations cio_settle_proc_fops = { | 1067 | static const struct file_operations cio_settle_proc_fops = { |
1068 | .open = nonseekable_open, | 1068 | .open = nonseekable_open, |
1069 | .write = cio_settle_write, | 1069 | .write = cio_settle_write, |
1070 | .llseek = no_llseek, | ||
1070 | }; | 1071 | }; |
1071 | 1072 | ||
1072 | static int __init cio_settle_init(void) | 1073 | static int __init cio_settle_init(void) |
diff --git a/drivers/s390/crypto/zcrypt_api.c b/drivers/s390/crypto/zcrypt_api.c index 41e0aaefafd5..f5221749d180 100644 --- a/drivers/s390/crypto/zcrypt_api.c +++ b/drivers/s390/crypto/zcrypt_api.c | |||
@@ -897,7 +897,8 @@ static const struct file_operations zcrypt_fops = { | |||
897 | .compat_ioctl = zcrypt_compat_ioctl, | 897 | .compat_ioctl = zcrypt_compat_ioctl, |
898 | #endif | 898 | #endif |
899 | .open = zcrypt_open, | 899 | .open = zcrypt_open, |
900 | .release = zcrypt_release | 900 | .release = zcrypt_release, |
901 | .llseek = no_llseek, | ||
901 | }; | 902 | }; |
902 | 903 | ||
903 | /* | 904 | /* |
diff --git a/drivers/s390/scsi/zfcp_cfdc.c b/drivers/s390/scsi/zfcp_cfdc.c index fcbd2b756da4..1838cda68ba8 100644 --- a/drivers/s390/scsi/zfcp_cfdc.c +++ b/drivers/s390/scsi/zfcp_cfdc.c | |||
@@ -251,8 +251,9 @@ static const struct file_operations zfcp_cfdc_fops = { | |||
251 | .open = nonseekable_open, | 251 | .open = nonseekable_open, |
252 | .unlocked_ioctl = zfcp_cfdc_dev_ioctl, | 252 | .unlocked_ioctl = zfcp_cfdc_dev_ioctl, |
253 | #ifdef CONFIG_COMPAT | 253 | #ifdef CONFIG_COMPAT |
254 | .compat_ioctl = zfcp_cfdc_dev_ioctl | 254 | .compat_ioctl = zfcp_cfdc_dev_ioctl, |
255 | #endif | 255 | #endif |
256 | .llseek = no_llseek, | ||
256 | }; | 257 | }; |
257 | 258 | ||
258 | struct miscdevice zfcp_cfdc_misc = { | 259 | struct miscdevice zfcp_cfdc_misc = { |