diff options
author | Christoph Hellwig <hch@infradead.org> | 2007-08-30 03:21:54 -0400 |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-10-15 22:18:09 -0400 |
commit | cc92e7ac8d96418d99f0c31a9a132e9fccc54553 (patch) | |
tree | 85ba32909af656d5b332657aa26179369f635a00 /fs/xfs/xfs_mount.h | |
parent | 0adba5363ccbee073f127feb1d6942e64ee63ab3 (diff) |
[XFS] growlock should be a mutex
m_growlock only needs plain binary mutex semantics, so use a struct mutex
instead of a semaphore for it.
SGI-PV: 968563
SGI-Modid: xfs-linux-melb:xfs-kern:29512a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_mount.h')
-rw-r--r-- | fs/xfs/xfs_mount.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h index 7f671f8269b4..c618f7cb5f0e 100644 --- a/fs/xfs/xfs_mount.h +++ b/fs/xfs/xfs_mount.h | |||
@@ -384,7 +384,7 @@ typedef struct xfs_mount { | |||
384 | uint m_in_maxlevels; /* XFS_IN_MAXLEVELS */ | 384 | uint m_in_maxlevels; /* XFS_IN_MAXLEVELS */ |
385 | struct xfs_perag *m_perag; /* per-ag accounting info */ | 385 | struct xfs_perag *m_perag; /* per-ag accounting info */ |
386 | struct rw_semaphore m_peraglock; /* lock for m_perag (pointer) */ | 386 | struct rw_semaphore m_peraglock; /* lock for m_perag (pointer) */ |
387 | sema_t m_growlock; /* growfs mutex */ | 387 | struct mutex m_growlock; /* growfs mutex */ |
388 | int m_fixedfsid[2]; /* unchanged for life of FS */ | 388 | int m_fixedfsid[2]; /* unchanged for life of FS */ |
389 | uint m_dmevmask; /* DMI events for this FS */ | 389 | uint m_dmevmask; /* DMI events for this FS */ |
390 | __uint64_t m_flags; /* global mount flags */ | 390 | __uint64_t m_flags; /* global mount flags */ |