android_kernel_xiaomi_sm8350/fs/gfs2
Abhijith Das 292c8c14ca [GFS2] patch to check for recursive lock requests in gfs2_rename code path
A certain scenario in the rename code path triggers a kernel BUG()
because it accidentally does recursive locking The first lock is
requested to unlink an already existing inode (replacing a file) and the
second lock is requested when the destination directory needs to alloc
some space. It is rare that these two
events happen during the same rename call, and even more rare that these
two instances try to lock the same rgrp. It is, however, possible.
https://bugzilla.redhat.com/show_bug.cgi?id=404711

Signed-off-by: Abhijith Das <adas@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2008-01-25 08:08:18 +00:00
..
locking [GFS2] tidy up error message 2008-01-25 08:08:04 +00:00
acl.c
acl.h
bmap.c [GFS2] Add gfs2_is_writeback() 2008-01-25 08:07:21 +00:00
bmap.h
daemon.c [GFS2] Move gfs2_logd into log.c 2008-01-25 08:07:56 +00:00
daemon.h [GFS2] Move gfs2_logd into log.c 2008-01-25 08:07:56 +00:00
dir.c
dir.h
eaops.c [GFS2] Remove unrequired code 2008-01-25 08:08:13 +00:00
eaops.h
eattr.c
eattr.h
gfs2.h
glock.c [GFS2] Fix runtime issue with UP kernels 2008-01-25 08:08:06 +00:00
glock.h
glops.c [GFS2] Reorder writeback for glock sync 2008-01-25 08:07:42 +00:00
glops.h
incore.h [GFS2] Don't periodically update the jindex 2008-01-25 08:07:59 +00:00
inode.c [GFS2] Remove lock methods for lock_nolock protocol 2008-01-25 08:08:15 +00:00
inode.h [GFS2] Introduce gfs2_set_aops() 2008-01-25 08:07:23 +00:00
Kconfig
lm.c
lm.h
locking.c
log.c [GFS2] Fix runtime issue with UP kernels 2008-01-25 08:08:06 +00:00
log.h [GFS2] Move gfs2_logd into log.c 2008-01-25 08:07:56 +00:00
lops.c [GFS2] Don't add glocks to the journal 2008-01-25 08:07:52 +00:00
lops.h
main.c [GFS2] Remove useless i_cache from inodes 2008-01-25 08:07:16 +00:00
Makefile [GFS2] Use ->page_mkwrite() for mmap() 2008-01-25 08:07:13 +00:00
meta_io.c [GFS2] Add sync_page to metadata address space operations 2008-01-25 08:07:40 +00:00
meta_io.h [GFS2] Remove useless i_cache from inodes 2008-01-25 08:07:16 +00:00
mount.c
mount.h
ops_address.c [GFS2] Use correct include file in ops_address.c 2008-01-25 08:07:32 +00:00
ops_address.h [GFS2] Introduce gfs2_set_aops() 2008-01-25 08:07:23 +00:00
ops_dentry.c
ops_dentry.h
ops_export.c exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
ops_file.c [GFS2] Remove lock methods for lock_nolock protocol 2008-01-25 08:08:15 +00:00
ops_fstype.c [GFS2] Use atomic_t for journal free blocks counter 2008-01-25 08:07:54 +00:00
ops_fstype.h exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
ops_inode.c
ops_inode.h [GFS2] Remove lock methods for lock_nolock protocol 2008-01-25 08:08:15 +00:00
ops_super.c [GFS2] Remove unused field in struct gfs2_inode 2008-01-25 08:07:18 +00:00
ops_super.h
quota.c [GFS2] Clean up internal read function 2008-01-25 08:07:11 +00:00
quota.h
recovery.c
recovery.h
rgrp.c [GFS2] patch to check for recursive lock requests in gfs2_rename code path 2008-01-25 08:08:18 +00:00
rgrp.h
super.c [GFS2] Don't periodically update the jindex 2008-01-25 08:07:59 +00:00
super.h
sys.c [GFS2] Don't periodically update the jindex 2008-01-25 08:07:59 +00:00
sys.h
trans.c [GFS2] Don't add glocks to the journal 2008-01-25 08:07:52 +00:00
trans.h [GFS2] Don't add glocks to the journal 2008-01-25 08:07:52 +00:00
util.c
util.h