summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/css.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2010-05-17 10:00:07 +0200
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2010-05-17 10:00:16 +0200
commit58ea91c05346f7c6336e6248b743aa9a8e1c19a9 (patch)
treeaa8fafa3a049a482eb9f2600fec40c03ae10935a /drivers/s390/cio/css.c
parentf73a2b03c59b95a3ee8eebcc127350c77c950e87 (diff)
downloadop-kernel-dev-58ea91c05346f7c6336e6248b743aa9a8e1c19a9.zip
op-kernel-dev-58ea91c05346f7c6336e6248b743aa9a8e1c19a9.tar.gz
[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/cio/css.c')
-rw-r--r--drivers/s390/cio/css.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c
index da6df04..ac94ac75 100644
--- a/drivers/s390/cio/css.c
+++ b/drivers/s390/cio/css.c
@@ -1065,6 +1065,7 @@ static ssize_t cio_settle_write(struct file *file, const char __user *buf,
}
static const struct file_operations cio_settle_proc_fops = {
+ .open = nonseekable_open,
.write = cio_settle_write,
};
OpenPOWER on IntegriCloud