git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix races around the access to ->s_options
[pandora-kernel.git]
/
drivers
/
isdn
/
capi
/
capifs.c
diff --git
a/drivers/isdn/capi/capifs.c
b/drivers/isdn/capi/capifs.c
index
b129409
..
8f9f3b5
100644
(file)
--- a/
drivers/isdn/capi/capifs.c
+++ b/
drivers/isdn/capi/capifs.c
@@
-75,8
+75,7
@@
static int capifs_remount(struct super_block *s, int *flags, char *data)
}
}
- kfree(s->s_options);
- s->s_options = new_opt;
+ replace_mount_options(s, new_opt);
config.setuid = setuid;
config.setgid = setgid;