git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ 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
[safe/jmp/linux-2.6]
/
fs
/
reiserfs
/
super.c
diff --git
a/fs/reiserfs/super.c
b/fs/reiserfs/super.c
index
d444fe0
..
1215a4f
100644
(file)
--- a/
fs/reiserfs/super.c
+++ b/
fs/reiserfs/super.c
@@
-1316,8
+1316,7
@@
static int reiserfs_remount(struct super_block *s, int *mount_flags, char *arg)
}
out_ok:
- kfree(s->s_options);
- s->s_options = new_opts;
+ replace_mount_options(s, new_opts);
return 0;
out_err: