diff options
author | 2010-05-17 10:00:07 +0200 | |
---|---|---|
committer | 2010-05-17 10:00:16 +0200 | |
commit | 58ea91c05346f7c6336e6248b743aa9a8e1c19a9 (patch) | |
tree | aa8fafa3a049a482eb9f2600fec40c03ae10935a /drivers/s390/char/fs3270.c | |
parent | [S390] vmcp: disallow modular build (diff) | |
download | linux-58ea91c05346f7c6336e6248b743aa9a8e1c19a9.tar.gz linux-58ea91c05346f7c6336e6248b743aa9a8e1c19a9.tar.bz2 linux-58ea91c05346f7c6336e6248b743aa9a8e1c19a9.zip |
[S390] avoid default_llseek in s390 drivers
Use nonseekable_open for a couple of s390 device drivers. This avoids
the use of default_llseek function which has a dependency on the BKL.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/char/fs3270.c')
-rw-r--r-- | drivers/s390/char/fs3270.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/char/fs3270.c b/drivers/s390/char/fs3270.c index 0eabcca3c92d..857dfcb7b359 100644 --- a/drivers/s390/char/fs3270.c +++ b/drivers/s390/char/fs3270.c @@ -484,6 +484,7 @@ fs3270_open(struct inode *inode, struct file *filp) raw3270_del_view(&fp->view); goto out; } + nonseekable_open(inode, filp); filp->private_data = fp; out: mutex_unlock(&fs3270_mutex); |