summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_dentry.c
diff options
context:
space:
mode:
authorRussell Cattelan <cattelan@redhat.com>2006-11-09 17:28:08 +0100
committerSteven Whitehouse <swhiteho@redhat.com>2006-11-30 16:34:55 +0100
commit7020933156ac2a8a7386314933e49948bf0438f7 (patch)
tree2833fb3993762143b32696919342ab7e86c7d471 /fs/gfs2/ops_dentry.c
parent[GFS2] Remove gfs2_inode_attr_in (diff)
downloadlinux-7020933156ac2a8a7386314933e49948bf0438f7.tar.xz
linux-7020933156ac2a8a7386314933e49948bf0438f7.zip
[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/ops_dentry.c')
0 files changed, 0 insertions, 0 deletions