• A
    Fix races around the access to ->s_options · 2a32cebd
    Al Viro 提交于
    Put generic_show_options read access to s_options under rcu_read_lock,
    split save_mount_options() into "we are setting it the first time"
    (uses in foo_fill_super()) and "we are relacing and freeing the old one",
    synchronize_rcu() before kfree() in the latter.
    Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
    2a32cebd
super.c 14.2 KB