android_kernel_xiaomi_sm8350/fs/ocfs2
Srinivas Eeda 14741472a0 ocfs2: Fix a race in o2dlm lockres mastery
In o2dlm, the master of a lock resource keeps a map of all interested
nodes.  This prevents the master from purging the resource before an
interested node can create a lock.

A race between the mastery thread and the mastery handler allowed an
interested node to discover who the master is without informing the
master directly.  This is easily fixed by holding the dlm spinlock a
little longer in the mastery handler.

Signed-off-by: Srinivas Eeda <srinivas.eeda@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
2010-03-23 18:22:59 -07:00
..
cluster fs/ocfs2/cluster/tcp.c: remove use of NIPQUAD, use %pI4 2010-03-12 15:52:27 -08:00
dlm ocfs2: Fix a race in o2dlm lockres mastery 2010-03-23 18:22:59 -07:00
dlmfs ocfs2/userdlm: Add tracing in userdlm 2010-02-27 19:57:07 -08:00
acl.c ocfs2: set i_mode on disk during acl operations 2010-03-17 12:28:22 -07:00
acl.h
alloc.c Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6 2010-03-05 13:20:53 -08:00
alloc.h
aops.c Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6 2010-03-05 13:20:53 -08:00
aops.h
blockcheck.c
blockcheck.h
buffer_head_io.c
buffer_head_io.h
dcache.c
dcache.h
dir.c Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6 2010-03-05 13:20:53 -08:00
dir.h
dlmglue.c Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01:00
dlmglue.h
export.c
export.h
extent_map.c Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01:00
extent_map.h
file.c Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6 2010-03-05 13:20:53 -08:00
file.h
heartbeat.c
heartbeat.h
inode.c Ocfs2: Handle deletion of reflinked oprhan inodes correctly. 2010-03-23 18:22:55 -07:00
inode.h
ioctl.c
ioctl.h Ocfs2: Move ocfs2 ioctl definitions from ocfs2_fs.h to newly added ocfs2_ioctl.h 2010-03-02 14:10:20 -08:00
journal.c
journal.h
Kconfig
localalloc.c ocfs2: Clear undo bits when local alloc is freed 2010-03-23 18:22:40 -07:00
localalloc.h
locks.c [PATCH] Skip check for mandatory locks when unlocking 2010-03-17 12:07:16 -07:00
locks.h
Makefile
mmap.c
mmap.h
namei.c Ocfs2: Journaling i_flags and i_orphaned_slot when adding inode to orphan dir. 2010-03-23 18:22:51 -07:00
namei.h
ocfs1_fs_compat.h
ocfs2_fs.h Ocfs2: Move ocfs2 ioctl definitions from ocfs2_fs.h to newly added ocfs2_ioctl.h 2010-03-02 14:10:20 -08:00
ocfs2_ioctl.h Ocfs2: Move ocfs2 ioctl definitions from ocfs2_fs.h to newly added ocfs2_ioctl.h 2010-03-02 14:10:20 -08:00
ocfs2_lockid.h
ocfs2_lockingver.h
ocfs2.h ocfs2: Clear undo bits when local alloc is freed 2010-03-23 18:22:40 -07:00
quota_global.c dquot: cleanup dquot initialize routine 2010-03-05 00:20:30 +01:00
quota_local.c bitops: rename for_each_bit() to for_each_set_bit() 2010-03-06 11:26:23 -08:00
quota.h
refcounttree.c ocfs2: Update i_blocks in reflink operations. 2010-03-17 12:28:00 -07:00
refcounttree.h
resize.c
resize.h
slot_map.c
slot_map.h
stack_o2cb.c
stack_user.c
stackglue.c
stackglue.h
suballoc.c ocfs2: Clear undo bits when local alloc is freed 2010-03-23 18:22:40 -07:00
suballoc.h ocfs2: Clear undo bits when local alloc is freed 2010-03-23 18:22:40 -07:00
super.c
super.h
symlink.c
symlink.h
sysfile.c
sysfile.h
uptodate.c
uptodate.h
ver.c
ver.h
xattr.c ocfs2: Init meta_ac properly in ocfs2_create_empty_xattr_block. 2010-03-19 14:53:52 -07:00
xattr.h