From: Al Viro Date: Fri, 8 May 2009 20:05:57 +0000 (-0400) Subject: Fix races around the access to ->s_options X-Git-Tag: linux-omap-v2.6.30-rc6~44^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a32cebd6cbcc43996c3e2d114fa32ba1e71192a;p=pandora-kernel.git Fix races around the access to ->s_options 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: Al Viro --- Reading git-diff-tree failed