summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2015-03-11 09:52:31 -0500
committerBob Peterson <rpeterso@redhat.com>2015-12-14 12:19:28 -0600
commit901c6c665b1024ea2bbabc24ba609a118459a2d8 (patch)
tree3142102b533bcab238ea38be2bf272f90575da75 /tools
parentb58bf407ca4669a2dfcc00f5888ee719d9c34150 (diff)
downloadtalos-obmc-linux-901c6c665b1024ea2bbabc24ba609a118459a2d8.tar.gz
talos-obmc-linux-901c6c665b1024ea2bbabc24ba609a118459a2d8.zip
GFS2: Update master statfs buffer with sd_statfs_spin locked
Before this patch, function update_statfs called gfs2_statfs_change_out to update the master statfs buffer without the sd_statfs_spin held. In theory, another process could call gfs2_statfs_sync, which takes the sd_statfs_spin lock and re-reads m_sc from the buffer. So there's a theoretical timing window in which one process could write the master statfs buffer, then another comes along and re-reads it, wiping out the changes. Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud