linux-stable-rt/fs/dlm
Satyam Sharma 3168b0780d [DLM] fix a couple of races
Fix two races in fs/dlm/config.c:

(1) Grab the configfs subsystem semaphore before calling
config_group_find_obj() in get_space(). This solves a potential race
between get_space() and concurrent mkdir(2) or rmdir(2).

(2) Grab a reference on the found config_item _while_ holding the configfs
subsystem semaphore in get_comm(), and not after it. This solves a
potential race between get_comm() and concurrent rmdir(2).

Signed-off-by: Satyam Sharma <ssatyam@cse.iitk.ac.in>
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2007-07-09 08:22:10 +01:00
..
Kconfig DLM must depend on SYSFS 2007-07-07 14:17:43 -07:00
Makefile [DLM] Consolidate transport protocols 2007-05-01 09:11:23 +01:00
ast.c [DLM] fs/dlm/ast.c should #include "ast.h" 2007-05-01 09:11:25 +01:00
ast.h
config.c [DLM] fix a couple of races 2007-07-09 08:22:10 +01:00
config.h [DLM] Consolidate transport protocols 2007-05-01 09:11:23 +01:00
debug_fs.c
dir.c
dir.h
dlm_internal.h [DLM] add orphan purging code (1/2) 2007-05-01 09:11:10 +01:00
lock.c [DLM] fix mode munging 2007-05-01 09:11:36 +01:00
lock.h [DLM] interface for purge (2/2) 2007-05-01 09:11:12 +01:00
lockspace.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-nmw 2007-05-07 12:26:27 -07:00
lockspace.h
lowcomms.c [DLM] lowcomms style 2007-05-01 09:11:51 +01:00
lowcomms.h
lvb_table.h
main.c
member.c
member.h
memory.c
memory.h
midcomms.c
midcomms.h
rcom.c
rcom.h
recover.c
recover.h
recoverd.c
recoverd.h
requestqueue.c
requestqueue.h
user.c [DLM] Remove redundant assignment 2007-05-01 09:11:20 +01:00
user.h
util.c
util.h