linux-stable-rt/fs/gfs2
Julia Lawall eb8374e71f GFS2: Use DEFINE_SPINLOCK
SPIN_LOCK_UNLOCKED is deprecated.  The following makes the change suggested
in Documentation/spinlocks.txt

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@@
declarer name DEFINE_SPINLOCK;
identifier xxx_lock;
@@

- spinlock_t xxx_lock = SPIN_LOCK_UNLOCKED;
+ DEFINE_SPINLOCK(xxx_lock);
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2009-01-05 07:45:02 +00:00
..
locking/dlm GFS2: Send useful information with uevent messages 2009-01-05 07:39:15 +00:00
Kconfig
Makefile
acl.c
acl.h
bmap.c GFS2: Streamline alloc calculations for writes 2009-01-05 07:39:17 +00:00
bmap.h GFS2: Streamline alloc calculations for writes 2009-01-05 07:39:17 +00:00
dir.c
dir.h
eaops.c
eaops.h
eattr.c
eattr.h
gfs2.h
glock.c GFS2: Use DEFINE_SPINLOCK 2009-01-05 07:45:02 +00:00
glock.h Revert "GFS2: Fix use-after-free bug on umount" 2009-01-05 07:39:18 +00:00
glops.c
glops.h
incore.h
inode.c
inode.h
locking.c
log.c
log.h
lops.c
lops.h
main.c
meta_io.c
meta_io.h
mount.c GFS2: Remove ancient, unused code 2009-01-05 07:39:13 +00:00
mount.h
ops_address.c GFS2: Streamline alloc calculations for writes 2009-01-05 07:39:17 +00:00
ops_address.h
ops_dentry.c
ops_export.c
ops_file.c GFS2: Streamline alloc calculations for writes 2009-01-05 07:39:17 +00:00
ops_fstype.c GFS2: Fix use-after-free bug on umount (try #2) 2009-01-05 07:39:19 +00:00
ops_inode.c
ops_super.c GFS2: Fix use-after-free bug on umount (try #2) 2009-01-05 07:39:19 +00:00
quota.c
quota.h
recovery.c
recovery.h
rgrp.c
rgrp.h
super.c Revert "GFS2: Fix use-after-free bug on umount" 2009-01-05 07:39:18 +00:00
super.h Revert "GFS2: Fix use-after-free bug on umount" 2009-01-05 07:39:18 +00:00
sys.c GFS2: Remove ancient, unused code 2009-01-05 07:39:13 +00:00
sys.h GFS2: Remove ancient, unused code 2009-01-05 07:39:13 +00:00
trans.c
trans.h
util.c
util.h