summaryrefslogtreecommitdiff
path: root/fs/nilfs2/segbuf.c
diff options
context:
space:
mode:
authorSrinivas Eeda <srinivas.eeda@oracle.com>2010-03-22 16:50:47 -0700
committerJoel Becker <joel.becker@oracle.com>2010-03-23 18:22:59 -0700
commit14741472a05245ed5778aa0aec055e1f920b6ef8 (patch)
tree0384fc0f8c3439a4bb2900bc725dae8a1f7924dd /fs/nilfs2/segbuf.c
parentb54c2ca475fa7d7450a45b6d778dae9dbe0bcbfe (diff)
downloadlinux-3.10-14741472a05245ed5778aa0aec055e1f920b6ef8.tar.gz
linux-3.10-14741472a05245ed5778aa0aec055e1f920b6ef8.tar.bz2
linux-3.10-14741472a05245ed5778aa0aec055e1f920b6ef8.zip
ocfs2: Fix a race in o2dlm lockres mastery
In o2dlm, the master of a lock resource keeps a map of all interested nodes. This prevents the master from purging the resource before an interested node can create a lock. A race between the mastery thread and the mastery handler allowed an interested node to discover who the master is without informing the master directly. This is easily fixed by holding the dlm spinlock a little longer in the mastery handler. Signed-off-by: Srinivas Eeda <srinivas.eeda@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/nilfs2/segbuf.c')
0 files changed, 0 insertions, 0 deletions