diff options
author | Benjamin Marzinski <bmarzins@redhat.com> | 2007-03-23 09:05:12 +0000 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-05-01 09:10:50 +0100 |
commit | 6883562588bc6c70776ecc396ee7eda36c2c8da9 (patch) | |
tree | c683994d1f805914fc18f3247cc86cc011a9aa0b /fs/msdos | |
parent | f35ac346bc48b2086aa94f031baf1f6237a89de6 (diff) |
[GFS2] Fix log entry list corruption
When glock_lo_add and rg_lo_add attempt to add an element to the log, they
check to see if has already been added before locking the log. If another
process adds that element to the log in this window between the check and
locking the log, the element will be added to the list twice. This causes
the log element list to become corrupted in such a way that the log element
can never be successfully removed from the list. This patch pulls the
list_empty() check inside the log lock, to remove this window.
Signed-off-by: Benjamin E. Marzinski <bmarzins@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/msdos')
0 files changed, 0 insertions, 0 deletions