linux/fs/gfs2
Russell Cattelan 7020933156 [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>
2006-11-30 10:34:55 -05:00
..
locking [PATCH] misuse of strstr 2006-10-11 11:17:06 -07:00
acl.c [GFS2] Shrink gfs2_inode (4) - di_uid/di_gid 2006-11-30 10:34:17 -05:00
acl.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
bmap.c [GFS2] Remove gfs2_inode_attr_in 2006-11-30 10:34:52 -05:00
bmap.h [GFS2] Fix bmap to map extents properly 2006-10-20 09:13:40 -04:00
daemon.c [GFS2/DLM] Fix trailing whitespace 2006-09-25 09:26:04 -04:00
daemon.h [GFS2] Update copyright, tidy up incore.h 2006-09-01 11:05:15 -04:00
dir.c [GFS2] Remove gfs2_inode_attr_in 2006-11-30 10:34:52 -05:00
dir.h [GFS2] split and annotate gfs2_inum 2006-11-30 10:33:32 -05:00
eaops.c [GFS2] Shrink gfs2_inode (3) - di_mode 2006-11-30 10:34:14 -05:00
eaops.h [GFS2] Extended attribute code style changes 2006-09-05 13:15:18 -04:00
eattr.c [GFS2] Remove gfs2_inode_attr_in 2006-11-30 10:34:52 -05:00
eattr.h [GFS2] gfs2 misc endianness annotations 2006-11-30 10:33:46 -05:00
gfs2.h [GFS2] Update copyright, tidy up incore.h 2006-09-01 11:05:15 -04:00
glock.c [GFS2] Remove unused GL_DUMP flag 2006-11-30 10:34:40 -05:00
glock.h [GFS2] Fix page lock/glock deadlock 2006-11-30 10:34:43 -05:00
glops.c [GFS2] Remove gfs2_inode_attr_in 2006-11-30 10:34:52 -05:00
glops.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
incore.h [GFS2] Shrink gfs2_inode (8) - i_vn 2006-11-30 10:34:30 -05:00
inode.c [GFS2] Remove gfs2_inode_attr_in 2006-11-30 10:34:52 -05:00
inode.h [GFS2] Remove gfs2_inode_attr_in 2006-11-30 10:34:52 -05:00
Kconfig [GFS2] gfs2/dlm: mailing list and web page 2006-06-22 15:29:57 -04:00
lm.c [GFS2/DLM] Fix trailing whitespace 2006-09-25 09:26:04 -04:00
lm.h [GFS2] Use void * instead of typedef for locking module interface 2006-09-08 10:17:58 -04:00
locking.c [GFS2] Export lm_interface to kernel headers 2006-09-19 08:45:18 -04:00
log.c [GFS2] Fix bmap to map extents properly 2006-10-20 09:13:40 -04:00
log.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
lops.c [GFS2] Fix race in logging code 2006-11-30 10:34:55 -05:00
lops.h [GFS2] split and annotate gfs2_log_head 2006-11-30 10:33:14 -05:00
main.c [GFS2] don't panic needlessly 2006-11-06 08:58:52 -05:00
Makefile [GFS2] Update copyright, tidy up incore.h 2006-09-01 11:05:15 -04:00
meta_io.c [GFS2] Move logging code into log.c (mostly) 2006-10-03 11:10:41 -04:00
meta_io.h [GFS2] Move logging code into log.c (mostly) 2006-10-03 11:10:41 -04:00
mount.c [GFS2] Export lm_interface to kernel headers 2006-09-19 08:45:18 -04:00
mount.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
ondisk.c [GFS2] Don't copy meta_header for rgrp in and out 2006-11-30 10:34:36 -05:00
ops_address.c [GFS2] Fix page lock/glock deadlock 2006-11-30 10:34:43 -05:00
ops_address.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
ops_dentry.c [GFS2] Shrink gfs2_inode (3) - di_mode 2006-11-30 10:34:14 -05:00
ops_dentry.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
ops_export.c [GFS2] gfs2 misc endianness annotations 2006-11-30 10:33:46 -05:00
ops_export.h [GFS2] split and annotate gfs2_inum 2006-11-30 10:33:32 -05:00
ops_file.c [GFS2] Only set inode flags when required 2006-11-30 10:34:45 -05:00
ops_file.h [GFS2] Only set inode flags when required 2006-11-30 10:34:45 -05:00
ops_fstype.c [GFS2] split and annotate gfs2_inum 2006-11-30 10:33:32 -05:00
ops_fstype.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
ops_inode.c [GFS2] Shrink gfs2_inode (8) - i_vn 2006-11-30 10:34:30 -05:00
ops_inode.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
ops_super.c [GFS2] Shrink gfs2_inode (3) - di_mode 2006-11-30 10:34:14 -05:00
ops_super.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
ops_vm.c [GFS2] Shrink gfs2_inode (4) - di_uid/di_gid 2006-11-30 10:34:17 -05:00
ops_vm.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
quota.c [GFS2] Shrink gfs2_inode (4) - di_uid/di_gid 2006-11-30 10:34:17 -05:00
quota.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
recovery.c [GFS2] Fix crc32 calculation in recovery.c 2006-11-30 10:33:17 -05:00
recovery.h [GFS2] split and annotate gfs2_log_head 2006-11-30 10:33:14 -05:00
rgrp.c [GFS2] Shrink gfs2_inode (4) - di_uid/di_gid 2006-11-30 10:34:17 -05:00
rgrp.h [GFS2] Fix uninitialised variable 2006-10-12 17:10:15 -04:00
super.c [GFS2] split and annotate gfs2_statfs_change 2006-11-30 10:33:38 -05:00
super.h [GFS2] split and annotate gfs2_statfs_change 2006-11-30 10:33:38 -05:00
sys.c [GFS2] Export lm_interface to kernel headers 2006-09-19 08:45:18 -04:00
sys.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
trans.c [GFS2] Export lm_interface to kernel headers 2006-09-19 08:45:18 -04:00
trans.h [GFS2] Make headers compile on their own 2006-09-05 10:39:21 -04:00
util.c [GFS2] Export lm_interface to kernel headers 2006-09-19 08:45:18 -04:00
util.h [GFS2] gfs2 misc endianness annotations 2006-11-30 10:33:46 -05:00