Skip to contentSkip to conversation

PARTIAL TAKE 970382 - untangle spinlock macros

DISCUSSION [email protected] 1 participant 1 message Sep 21, 2007

lore
Share & tools
lore
#0 lore raw

Unwrap xfs_dabuf_global_lock

Un-obfuscate dabuf_global_lock, remove mutex_lock->spin_lock macros, call spin_lock directly, remove extraneous cookie holdover from old xfs code, and change lock type to spinlock_t.

Date:  Fri Sep 21 14:32:21 AEST 2007
Workarea:  linuxbuild.melbourne.sgi.com:/home/donaldd/isms/2.6.x-xfs
Inspected by:  [email protected]

The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb

Modid: xfs-linux-melb:xfs-kern:29744a
fs/xfs/xfs_da_btree.c - 1.176 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_da_btree.c.diff?r1=text&tr1=1.176&r2=text&tr2=1.175&f=h
- Unwrap xfs_dabuf_global_lock

fs/xfs/xfs_vfsops.c - 1.541 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_vfsops.c.diff?r1=text&tr1=1.541&r2=text&tr2=1.540&f=h
- Unwrap xfs_dabuf_global_lock