Merge tag 'stream_open-5.2' of https://lab.nexedi.com/kirr/linux
[sfrench/cifs-2.6.git] / drivers / s390 / char / zcore.c
index f75d3bfb5af3516c31096bf1fa8259c41c7c3cc6..405a6053863014e069ca01440d595086cd753e35 100644 (file)
@@ -191,7 +191,7 @@ static ssize_t zcore_reipl_write(struct file *filp, const char __user *buf,
 
 static int zcore_reipl_open(struct inode *inode, struct file *filp)
 {
-       return nonseekable_open(inode, filp);
+       return stream_open(inode, filp);
 }
 
 static int zcore_reipl_release(struct inode *inode, struct file *filp)