projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3d00c3
)
[S390] vmlogrdr: stop IUCV connection in vmlogrdr_release.
author
Ursula Braun
<braunu@de.ibm.com>
Fri, 27 Apr 2007 14:01:52 +0000
(16:01 +0200)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Fri, 27 Apr 2007 14:01:45 +0000
(16:01 +0200)
Reopen of /dev/account failed. The IUCV path has to be terminated
in vmlogrdr_release.
Signed-off-by: Ursula Braun <braunu@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/vmlogrdr.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/s390/char/vmlogrdr.c
b/drivers/s390/char/vmlogrdr.c
index b87d3b019936d7a215710a3e1b6f7c3419e90482..08797fa450678194c5f2bb8393cef41875feb8a4 100644
(file)
--- a/
drivers/s390/char/vmlogrdr.c
+++ b/
drivers/s390/char/vmlogrdr.c
@@
-385,6
+385,9
@@
static int vmlogrdr_release (struct inode *inode, struct file *filp)
struct vmlogrdr_priv_t * logptr = filp->private_data;
+ iucv_path_sever(logptr->path, NULL);
+ kfree(logptr->path);
+ logptr->path = NULL;
if (logptr->autorecording) {
ret = vmlogrdr_recording(logptr,0,logptr->autopurge);
if (ret)