original_kernel/fs/gfs2
Steven Whitehouse 59a1cc6bda [GFS2] Fix lock ordering bug in page fault path
Mmapped files were able to trigger a lock ordering bug. Private
maps do not need to take the glock so early on. Shared maps do
unfortunately, however we can get around that by adding a flag
into the flags for the struct gfs2_file. This only works because
we are taking an exclusive lock at this point, so we know that
nobody else can be racing with us.

Fixes Red Hat bugzilla: #201196

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2006-08-04 15:41:22 -04:00
..
locking [GFS2] add plock owner 2006-07-31 15:44:29 -04:00
Kconfig [GFS2] gfs2/dlm: mailing list and web page 2006-06-22 15:29:57 -04:00
Makefile [GFS2] Remove page.[ch] 2006-07-26 11:27:10 -04:00
acl.c [GFS2] Remove gfs2_repermission 2006-06-22 10:59:10 -04:00
acl.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
bmap.c [GFS2] Remove page.[ch] 2006-07-26 11:27:10 -04:00
bmap.h [GFS2] Tidy gfs2_unstuffer_page 2006-07-26 10:51:20 -04:00
daemon.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
daemon.h [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
dir.c [GFS2] Fix bug in directory code 2006-08-01 15:28:57 -04:00
dir.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
eaops.c [GFS2] [-mm patch] fs/gfs2/: make code static 2006-06-22 11:16:40 -04:00
eaops.h [GFS2] [-mm patch] fs/gfs2/: make code static 2006-06-22 11:16:40 -04:00
eattr.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
eattr.h [GFS2] selinux support 2006-05-22 10:08:35 -04:00
format.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
gfs2.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
glock.c [GFS2] Fix bug in clear_inode 2006-07-28 14:52:33 -04:00
glock.h [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
glops.c [GFS2] Use a bio to read the superblock 2006-07-27 13:53:53 -04:00
glops.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
incore.h [GFS2] Fix lock ordering bug in page fault path 2006-08-04 15:41:22 -04:00
inode.c [GFS2] Tidy up in various files 2006-07-31 15:42:17 -04:00
inode.h [GFS2] Remove gfs2_repermission 2006-06-22 10:59:10 -04:00
lm.c [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
lm.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
lm_interface.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
locking.c [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
log.c [GFS2] Fix lock ordering bug in page fault path 2006-08-04 15:41:22 -04:00
log.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
lops.c [GFS2] Always include glock in transaction 2006-06-19 10:51:11 -04:00
lops.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
lvb.c [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
lvb.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
main.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
meta_io.c [GFS2] Fix deadlock in memory allocation 2006-07-11 09:50:54 -04:00
meta_io.h [GFS2] Tidy up in various files 2006-07-31 15:42:17 -04:00
mount.c [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
mount.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
ondisk.c [GFS2] Add generation number 2006-07-11 09:46:33 -04:00
ops_address.c [GFS2] Fix lock ordering bug in page fault path 2006-08-04 15:41:22 -04:00
ops_address.h [GFS2] Add generation number 2006-07-11 09:46:33 -04:00
ops_dentry.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
ops_dentry.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
ops_export.c [GFS2] NFS update 2006-07-13 09:24:48 -04:00
ops_export.h [GFS2] NFS update 2006-07-13 09:24:48 -04:00
ops_file.c [GFS2] Tidy up in various files 2006-07-31 15:42:17 -04:00
ops_file.h [GFS2] Mark file_operations const 2006-07-03 13:47:02 -04:00
ops_fstype.c [GFS2] Use a bio to read the superblock 2006-07-27 13:53:53 -04:00
ops_fstype.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
ops_inode.c [GFS2] Remove page.[ch] 2006-07-26 11:27:10 -04:00
ops_inode.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
ops_super.c [GFS2] Remove page.[ch] 2006-07-26 11:27:10 -04:00
ops_super.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
ops_vm.c [GFS2] Fix lock ordering bug in page fault path 2006-08-04 15:41:22 -04:00
ops_vm.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
quota.c [GFS2] Remove dependance on tty_write_message() 2006-07-03 11:20:06 -04:00
quota.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
recovery.c [GFS2] Fix lock ordering bug in page fault path 2006-08-04 15:41:22 -04:00
recovery.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
rgrp.c [GFS2] Change some allocations to GFP_NOFS 2006-07-27 14:29:00 -04:00
rgrp.h [GFS2] Add generation number 2006-07-11 09:46:33 -04:00
super.c [GFS2] Fix bug in super block reading code 2006-07-27 16:37:48 -04:00
super.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
sys.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
sys.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
trans.c [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
trans.h [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
util.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
util.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00