android_kernel_xiaomi_sm8350/fs/gfs2
Steven Whitehouse 26bb7505cf GFS2: Fix glock refcount issues
This patch fixes some ref counting issues. Firstly by moving
the point at which we drop the ref count after a dlm lock
operation has completed we ensure that we never call
gfs2_glock_hold() on a lock with a zero ref count.

Secondly, by using atomic_dec_and_lock() in gfs2_glock_put()
we ensure that at no time will a glock with zero ref count
appear on the lru_list. That means that we can remove the
check for this in our shrinker (which was racy).

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2009-12-03 12:00:12 +00:00
..
acl.c GFS2: Add cached ACLs support 2009-12-03 11:47:51 +00:00
acl.h GFS2: Clean up ACLs 2009-12-03 11:47:35 +00:00
aops.c writeback: remove unused nonblocking and congestion checks (gfs2) 2009-12-03 11:59:17 +00:00
bmap.c
bmap.h
dentry.c GFS2: free disk inode which is deleted by remote node -V2 2009-08-18 10:29:39 +01:00
dir.c GFS2: Remove dirent_first() function 2009-12-03 11:57:23 +00:00
dir.h
export.c GFS2: Be extra careful about deallocating inodes 2009-09-08 18:00:30 +01:00
file.c const: mark struct vm_struct_operations 2009-09-27 11:39:25 -07:00
gfs2.h
glock.c GFS2: Fix glock refcount issues 2009-12-03 12:00:12 +00:00
glock.h GFS2: Remove obsolete code in quota.c 2009-12-03 11:49:30 +00:00
glops.c GFS2: Use forget_all_cached_acls() 2009-12-03 11:45:37 +00:00
glops.h
incore.h GFS2: add barrier/nobarrier mount options 2009-12-03 11:55:54 +00:00
inode.c GFS2: Tag all metadata with jid 2009-12-03 11:58:47 +00:00
inode.h
Kconfig GFS2: Hook gfs2_quota_sync into VFS via gfs2_quotactl_ops 2009-12-03 11:49:09 +00:00
lock_dlm.c
log.c GFS2: Tag all metadata with jid 2009-12-03 11:58:47 +00:00
log.h
lops.c GFS2: Tag all metadata with jid 2009-12-03 11:58:47 +00:00
lops.h
main.c SLOW_WORK: Wait for outstanding work items belonging to a module to clear 2009-11-19 18:10:23 +00:00
Makefile GFS2: Rename eattr.[ch] as xattr.[ch] 2009-08-26 18:51:04 +01:00
meta_io.c
meta_io.h
ops_fstype.c GFS2: add barrier/nobarrier mount options 2009-12-03 11:55:54 +00:00
ops_inode.c headers: utsname.h redux 2009-09-23 18:13:10 -07:00
quota.c GFS2: Improve statfs and quota usability 2009-12-03 11:55:17 +00:00
quota.h GFS2: Improve statfs and quota usability 2009-12-03 11:55:17 +00:00
recovery.c GFS2: Tag all metadata with jid 2009-12-03 11:58:47 +00:00
recovery.h
rgrp.c GFS2: Locking order fix in gfs2_check_blk_state 2009-12-03 11:57:41 +00:00
rgrp.h GFS2: Be extra careful about deallocating inodes 2009-09-08 18:00:30 +01:00
super.c GFS2: Display nobarrier option in /proc/mounts 2009-12-03 11:57:05 +00:00
super.h GFS2: Alter arguments of gfs2_quota/statfs_sync 2009-12-03 11:48:54 +00:00
sys.c GFS2: Add proper error reporting to quota sync via sysfs 2009-12-03 11:50:03 +00:00
sys.h
trace_gfs2.h
trans.c
trans.h
util.c GFS2: Add "-o errors=panic|withdraw" mount options 2009-08-24 10:44:18 +01:00
util.h
xattr.c GFS2: Clean up ACLs 2009-12-03 11:47:35 +00:00
xattr.h GFS2: Clean up ACLs 2009-12-03 11:47:35 +00:00