Skip to contentSkip to conversation

PARTIAL TAKE 968563 - growlock should be a mutex

DISCUSSION David Chinner 1 participant 1 message Aug 24, 2007

lore
Share & tools
lore
#0 lore raw

growlock should be a mutex

m_growlock only needs plain binary mutex semantics, so use a struct mutex instead of a semaphore for it.

Date:  Fri Aug 24 23:45:37 AEST 2007
Workarea:  chook.melbourne.sgi.com:/build/dgc/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:29512a
fs/xfs/xfs_mount.h - 1.250 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_mount.h.diff?r1=text&tr1=1.250&r2=text&tr2=1.249&f=h
- convert m_growlock to a mutex.

fs/xfs/xfs_mount.c - 1.409 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_mount.c.diff?r1=text&tr1=1.409&r2=text&tr2=1.408&f=h
- convert m_growlock to a mutex.

fs/xfs/xfs_fsops.c - 1.130 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_fsops.c.diff?r1=text&tr1=1.130&r2=text&tr2=1.129&f=h
- convert m_growlock to a mutex.