diff options
author | Russell Cattelan <cattelan@redhat.com> | 2006-11-09 11:28:08 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-30 10:34:55 -0500 |
commit | 7020933156ac2a8a7386314933e49948bf0438f7 (patch) | |
tree | 2833fb3993762143b32696919342ab7e86c7d471 /fs/gfs2/util.c | |
parent | 9e2dbdac3df300516ffdd9a8631f23164d068a50 (diff) |
[GFS2] Fix race in logging code
The log lock is dropped prior to io submittion, but
this exposes a hole in which the log data structures
may be going away due to a truncate.
Store the buffer head in a local pointer prior to
dropping the lock and relay on the buffer_head lock
for consitency on the buffer head.
Signed-Off-By: Russell Cattelan <cattelan@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/util.c')
0 files changed, 0 insertions, 0 deletions